Trium918 Posted May 13, 2007 Share Posted May 13, 2007 Which is better and why? Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/ Share on other sites More sharing options...
bilis_money Posted May 13, 2007 Share Posted May 13, 2007 google.com Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/#findComment-252030 Share on other sites More sharing options...
redbullmarky Posted May 13, 2007 Share Posted May 13, 2007 google.com ? seems like a sensible question to me... PNG's I generally find better, due to the fact that they tend to blend into their background better whereas GIF's kinda need to be tailored depending on the background and its colour. (or at least they do with my GIF's/PNG's ). The problem with PNG's is their support in IE6 and their background transparency. There are fixes of course, but they generally involve bits of javascript. If PNG support was spot on across all browsers, I'd use them 100% instead of GIF's. Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/#findComment-252045 Share on other sites More sharing options...
AndyB Posted May 13, 2007 Share Posted May 13, 2007 Just a word of caution, though. Many times a .png version is a much larger file size than a .gif version of a simple image. Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/#findComment-252047 Share on other sites More sharing options...
redbullmarky Posted May 13, 2007 Share Posted May 13, 2007 very true. i tend to use them for smaller objects (such as icons) so the difference is negligable. Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/#findComment-252054 Share on other sites More sharing options...
Trium918 Posted May 13, 2007 Author Share Posted May 13, 2007 google.com I'm aware of google! Google is more of an opinion if you know what I mean. Post a question here and an opinion is of more of a fact. Its not for the simple minded to understand what I just said. lol Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/#findComment-252071 Share on other sites More sharing options...
cmgmyr Posted May 13, 2007 Share Posted May 13, 2007 I too use PNG's for icons. But over all I try and either use css/text to make buttons and links or else just use jpg's. There are way too many discrepancies between browsers for different transparencies...So I just don't deal with them unless I have to. Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/#findComment-252162 Share on other sites More sharing options...
Daniel0 Posted May 13, 2007 Share Posted May 13, 2007 PNG shows more colors as well. GIF only shows 256. Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/#findComment-252218 Share on other sites More sharing options...
zq29 Posted May 14, 2007 Share Posted May 14, 2007 It depends on what you mean by "better", better for what? The normal transparency works with IE 6 and below doesn't it? I thought it was just the alpha-transparency that was unsupported, though feel free to correct me if I'm talking out of my arse! When picking what format I'm going to go with, in Photoshop (CS 2/3) I know there is a "Save for web" option, which I use, where you can display up to four previews of the image in different formats with different settings - I pick the format that offers the best combination of quality and filesize. Mark, do you do your graphics work on a Mac by any chance? If so, take a look at this. Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/#findComment-252901 Share on other sites More sharing options...
The Little Guy Posted May 14, 2007 Share Posted May 14, 2007 Use PNG for large images with transparencies that need high quality. Use GIF for small files with or with out transparencies, or if it needs to be animated. Use JPG for large photographic images with 257+ colors. It all depends on what you are trying to do with the image, if it is a background patten, I would go with GIF, if it is a portrait I would use JPG, and if it is a high quality fancy logo, I would go with PNG. Currently I would stay away from PNG, since it is very hard to make the transparencies transparent in IE6, but it can be done. I would just slice the images certain ways, so they could be saved as a GIF, and not be distorted a ton. Check these out: http://www.siriusweb.com/tutorials/gifvsjpg/ http://www.webwitchery.com/articles/format/ Quote Link to comment https://forums.phpfreaks.com/topic/51185-gif-vs-png/#findComment-252913 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.