Click to See Complete Forum and Search --> : .png advantages


jmcdonald21
07-06-2005, 09:44 PM
Are there advantages to using .png instead of jpeg or .gif?

chong
07-06-2005, 11:33 PM
png is similar to gif, but with higher color depth. It has an independent alpha channel (gif assigns one of its unused colors as transparent). But cross browser compatibility is still an issue (with regards to transparency).

Robert Wellock
07-07-2005, 06:25 AM
PNG generally are superior to both GIF and JPG though don't do animation.

However, the JPG is lossy so thus is normally better suited for photographs where small filesize counts on the web.

felgall
07-07-2005, 06:43 PM
Once IE supports PNG properly (and IE7 is supposed to include proper support from what I have read) and once enough people migrate to that browser from the ones that don't properly support PNG then it will probably be the best format to use for most images. Until then stick with GIF and JPG.

Robert Wellock
07-08-2005, 08:58 AM
It is only Alpha transparency the M$ cannot do and PNG-8 Transparency is totally safe. The *.gif is such a shoddy outdated format is should hardly ever be used unless you want animation.

Summary: http://en.wikipedia.org/wiki/Portable_Network_Graphics

jmcdonald21
07-08-2005, 06:23 PM
Can someone give me an example of this transparency problem and how to get around it. For instance, how would I have to save my .png so there is no problem?

felgall
07-08-2005, 06:41 PM
The problem isn't with the png file, the problem is the web browser. To0 fix it simply use a version 7 or 8 browser.

Mongus
07-12-2005, 10:12 PM
Here's some info on how to make it work in IE:

http://javasource.org/pngInfo/

mtgentry
07-18-2005, 06:35 PM
I think a new era in bad web design will take place once IE fully supports PNG transparency.

Imagine every image on the web with a bloated drop shadow. Yuck.