Go Back   vb.org Archive > Community Discussions > Style and Graphics Requests (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-30-2009, 01:21 AM
Dygear's Avatar
Dygear Dygear is offline
 
Join Date: Apr 2008
Location: Levittown, NY
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default PNG (Portable Network Graphics) Images

For the default style the current image format is GIF (Graphics Interchange Format) who has a limit of 256 colors (8-Bit) with alpha transparency of a Boolean (on or off) type (1-Bit). This has the unfortunate side effect of giving objects or letters 'halos' of pixels that are somewhat transparent but have a color value forcing the image library to save these bits with a color background even if there is very little color data associated with that pixel causing the pixel to primarily appear white, and effecting overall image quality on black text with an anti-aliased font.

An example of the Anti-aliased object issue can be found on my own website: Wantagh-Levittown VAC Cadet's Forum (Notice the white edges around the images?).

What I'm proposing is the use of PNG (Portable Network Graphics) for all images that make use of any anti-aliasing inside of the default vB style. PNG files allows for Truecolor or 16.7 Millions Colors (24-Bit) along with up to 256 levels of Alpha Transparency (8-Bit) allowing for a much more precise representation of the image. This would allow for a much easier modification of the default style as people could change the background color of the vB style and not have to worry about re-editing the images file.

There are trade offs, file size and the now non issue of Internet Explorer 6 support of the PNG alpha Transparency. With with IE 7 being out and fully supporting the PNG file format, and now IE8 out IE6 is now two generations old. The second issue lies with the file size of these images. PNG files can be smaller then GIF files depending on the complexity of the image, however in most cases of the vB image set the files would be bigger. I fell that this is an acceptable trade off if your using a child style of the main default style and using the images from the main style where the child style has a different background color. PNG files provide the most robust outlook for all uses of the style system.

In a sentence, I would like the default image format for all images within the vB namespace to be of the file format PNG.

Thank you for your time,
Mark 'Dygear' Tomlin.
Reply With Quote
  #2  
Old 06-10-2009, 08:19 PM
Bucky Katt Bucky Katt is offline
 
Join Date: Jun 2007
Location: Milano - Italy
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is exactly what I'm trying to do on my forum, but I don't know where to chance the extentions in the code.
Reply With Quote
  #3  
Old 06-11-2009, 05:44 AM
Dygear's Avatar
Dygear Dygear is offline
 
Join Date: Apr 2008
Location: Levittown, NY
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And with the current image development set it takes ages to save out new background colors, having to open 30 something psd files and then resize them. It's silly! I think I might make a one PSD for all 'phpBB style'. It would be a Style Development Kit, and I would think I could release it here a modification.
Reply With Quote
  #4  
Old 07-21-2009, 06:00 PM
jinscoe jinscoe is offline
 
Join Date: Sep 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any news on this? Trying to do the same thing. TIA
Reply With Quote
  #5  
Old 07-22-2009, 08:59 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not sure what news you are expecting, but i doubt there will be anything coming here. If the OP wanted to ask this to the developers, then he has posted on the wrong site. He will need to post on vB.com to get a response.

PS You can simply rename the .png to .gif.
Reply With Quote
  #6  
Old 07-23-2009, 04:48 PM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there are ways to get around the .PNG transparency issues in IE 6 and most major browsers.

As far as the latest browsers go, most do support PNG-24 now with no problem, as for older browsers, there is work arounds and also javascript codes that will get rid of the problem.

It really all comes down to how many version of each browser you would like to support. Changing or recreating the files and saving them as PNG should not take that long if you want to do it yourself.

As far as the file size concern goes, if the background images mentioned are repeating, then there is no need for the image to exceed a 1px height or width (depending if it is vertical / horizontal pattern), and because of that it shouldn't really be much more than a .GIF file the same size.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04700 seconds
  • Memory Usage 2,203KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete