954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

.png vs. .gif

I was wondering is it ok to use png's without fear of the dreaded red x?

Dsiembab
Junior Poster
156 posts since Mar 2007
Reputation Points: 18
Solved Threads: 2
 

Just as long as you don't use transparency you will be ok. IE6 and earlier can't handle it without using hacks which are a pain in the butt to use.

stymiee
He's No Good To Me Dead
Moderator
3,360 posts since May 2006
Reputation Points: 161
Solved Threads: 38
 

Older browsers don't know what a .png is.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

Thanks for the clarification. I'll just stick to gif's then, thanks again

Dsiembab
Junior Poster
156 posts since Mar 2007
Reputation Points: 18
Solved Threads: 2
 

Use PNGs. The older browsers they are referring to aren't used anymore so you can safely ignore them. PNGs are superior to GIFs.

stymiee
He's No Good To Me Dead
Moderator
3,360 posts since May 2006
Reputation Points: 161
Solved Threads: 38
 

The difference is quality!...

PNG's look better, use transparency better but take more space.
Later versions of Internet Explorer have problems recognizing the PNG transparency but GIF transparency usually always shows, but its more pixelated.


Hope this helps

kurley4
Newbie Poster
10 posts since Feb 2007
Reputation Points: 11
Solved Threads: 0
 

Depends on the situation. PNG file sizes are pretty good in my opinion and have higher quality. View the link below for fixing the alpha issues with IE6. FF and Safari will display the alpha just fine.

http://homepage.ntlworld.com/bobosola/pnghowto.htm

That work-around only works in cases where the PNG was displayed with an image tag, so don't expect alpha to work on images used as table cell backgrounds.

Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: