Search code examples
htmlcssfirefoxpngfirefox3.5

Firefox 3.5 color correction hack?


After finally getting down to upgrading to FF 3.5, I noticed that some of my web pages have color problems. Specifically, say I have a PNG image with a color in it which is meant to be the same as the body's background color but when it is rendered it comes out as lighter than it should be on Windows.

On Mac I'm not seeing this issue, and nor am I seeing it on FF3.0 - Windows or otherwise.

Is there some hack I can add to my code to make FF not color correct the PNG?


Solution

  • I've managed to solve this by running all the PNGs through pngcrush and remove all traces of color profiles and such.

    pngcrush -rem gAMA -rem cHRM -rem iCCP -rem sRGB in.png out.png