Sorry Brett, you're wrong. The png format will handle three levels of bit-depth including 8-bit which is the same as the gif format.
The references you state are somewhat outdated and don't consider the different methods of compression that a png will handle natively. I suggest you try a few comparisons out yourself. They don't always work out smaller but most often they do. Create an 8-bit png in Fireworks (recommended but not essential). Then run it through pngGauntlet and see for yourself. You're going to be surprised. Mike Foskett From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett Patterson Sent: 25 November 2008 13:16 To: [email protected] Subject: Re: [WSG] your best practise for CSS sprites for elements that have no height declared No, I may have to disagree. GIF files are (a majority of them, if not all, are) smaller. They have to be. Considering GIF only supports up to a maximum of 256 colors. (it is 8-bit). Try http://www.sitepoint.com/article/gif-jpg-png-whats-difference/ -------or------- http://en.wikipedia.org/wiki/Graphics_Interchange_Format You should never have to use a pngGauntlet-type compressor. On Tue, Nov 25, 2008 at 7:10 AM, Foskett, Mike <[EMAIL PROTECTED]> wrote: While I cannot help with the spacing issue I do strongly suggest using png rather than gif. File size is smaller especially when run through pngGauntlet. Mike Foskett -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of tee Sent: 25 November 2008 10:48 To: [email protected] Subject: Re: [WSG] your best practise for CSS sprites for elements that have no height declared On Nov 24, 2008, at 3:24 AM, Robert O'Rourke wrote: > > If I remember rightly if you are able to save the image with a > transparent background it keeps the file size lower because a > transparent pixel takes less space than a pixel with colour > information. You can put a coloured outline around the sprites > themselves to avoid jagged edges in IE. Thanks all for the tips. The htacces ones is especially useful :-) tee ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ******************************************************************* -------------------Warning------------------------ This e-mail is from outside Tesco - check that it is genuine. Tesco may monitor and record all e-mails. ---- Disclaimer ---- This is a confidential email. Tesco may monitor and record all emails. The views expressed in this email are those of the sender and not Tesco. Tesco Stores Limited Company Number: 519500 Registered in England Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8 9SL VAT Registration Number: GB 220 4302 31 ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ******************************************************************* -- Brett P. ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
