Xophmeister
Xophmeister

Reputation: 9219

Cross-Browser Colour Management for PNGs

I apologise in advance if SO is not the place for this. This seemed the most appropriate Stack Exchange, but still not ideal...

Anyway, I have a number of PNG images on a website I'm developing. They look great in Firefox and IE, but when I check on my iPhone, the colours are all wrong (sometimes dramatically). After a bit of Googling, I found that the problem is due to colour management in Safari and my PNGs using some other profile.

I'm using the GIMP to make my images and I found this blog post about how to fix it. However, I tried this and it had no effect. The thing is, I don't seem to have any ICC profiles installed on my machine, so I downloaded the ones I found here; but still no luck... I also found this link in SO's search side panel as I've been writing; but removing the gamma correction when I save the PNG doesn't do the job, either.

Can anyone point me in the right direction, to get my images to look right everywhere?

Upvotes: 0

Views: 217

Answers (1)

Simon Thum
Simon Thum

Reputation: 594

So likely your browser treats CSS colors as described in http://hsivonen.iki.fi/png-gamma/ which, of course, does not match up. Instead of inserting sRGB you can also remove the whole gAMA chuck or embedded profile, which may increase your odds by a tiny bit.

Upvotes: 1

Related Questions