so ie has issues with pngs even if they aren't transparent?

Need help with Photoshop, the GIMP, Illustrator, or others? Want to show off your work? Looking for advice on your newest Flash stuff?

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

so ie has issues with pngs even if they aren't transparent?

Post by Luke »

Alright, so I've been using 8-bit pngs instead of gifs lately. When I output my 64-color png, it looks fine in firefox, but when I look at it in IE6, the color is off by just a little bit (but enough that you can see the difference between it and the background). When I changed to gif, it looks fine in both. So IE has issues rendering pngs even if they don't have transparency? I wasn't aware of this. :( I don't know if this community is aware of this, but man...

I HATE INTERNET EXPLORER!
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Yeah, basically the 'rules' behind using pngs (as long as IE is still in use :P) is to only use it for images that don't need to match colors. Things like sprites / avatars, and things that should be surrounded by transparency with no need to blend in to rest of the page.
User avatar
iknownothing
Forum Contributor
Posts: 337
Joined: Sun Dec 17, 2006 11:53 pm
Location: Sunshine Coast, Australia

Post by iknownothing »

What program are you using to make your images? I get the same issue you get, saving in Photoshop, but if I save a png in Fireworks (.png is native) it works fine for some odd reason.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Interesting... I have a copy of Fireworks [s]and[/s] at my work. I'll have to try that on Monday. Thanks (both of ya) ;)
Last edited by Luke on Sat Aug 11, 2007 11:34 am, edited 1 time in total.
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

So next time someone complains that web developers charge way too much per hour, we have a damn good reason why :)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

So next time someone complains that web developers charge way too much per hour, we have a damn good reason why
no kidding... stupid IE
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Post by kaszu »

Reason why colors are a little bit different in IE is because pngs has gamma attribute, which IE is using a little bit differently.
Fireworks doesn't sets (or have some value, which doesn't affect IE) gamma attribute, while photoshop does.

To remove this attribute i use http://entropymine.com/jason/tweakpng/ and then everything works fine. Just remove gAMA and it should be ok.
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

kaszu wrote:Reason why colors are a little bit different in IE is because pngs has gamma attribute, which IE is using a little bit differently.
Fireworks doesn't sets (or have some value, which doesn't affect IE) gamma attribute, while photoshop does.

To remove this attribute i use http://entropymine.com/jason/tweakpng/ and then everything works fine. Just remove gAMA and it should be ok.
That's a great tip, however I shouldn't have to use yet another program to make things work the way Bill wants me to make them work...
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

nickvd wrote:That's a great tip, however I shouldn't have to use yet another program to make things work the way Bill wants me to make them work...
Is there any stopping him, though? :P


"An ex-girlfriend remembers Bill Gates as having bad breath. He remembers her as not having $100 billion." - Conan O'Brien
Post Reply