PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Oct 20, 2018 3:35 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Thu Aug 09, 2007 5:28 pm 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
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!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 09, 2007 8:32 pm 
Offline
DevNet Master
User avatar

Joined: Sun Jan 21, 2007 12:06 am
Posts: 4135
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 09, 2007 11:14 pm 
Offline
Forum Contributor
User avatar

Joined: Mon Dec 18, 2006 12:53 am
Posts: 337
Location: Sunshine Coast, Australia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 10, 2007 11:24 pm 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
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.

Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 11, 2007 9:16 am 
Offline
DevNet Resident

Joined: Thu Mar 10, 2005 6:27 pm
Posts: 1027
Location: Southern Ontario
So next time someone complains that web developers charge way too much per hour, we have a damn good reason why :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 11, 2007 12:29 pm 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
Quote:
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 11, 2007 2:13 pm 
Offline
Forum Regular
User avatar

Joined: Wed Jul 19, 2006 7:29 am
Posts: 749
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 11, 2007 2:17 pm 
Offline
DevNet Resident

Joined: Thu Mar 10, 2005 6:27 pm
Posts: 1027
Location: Southern Ontario
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...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 11, 2007 7:38 pm 
Offline
DevNet Master
User avatar

Joined: Sun Jan 21, 2007 12:06 am
Posts: 4135
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group