Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 706
cwj Avatar asked Jul 10 '09 08:07

cwj


2 Answers

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
like image 62
cwj Avatar answered Oct 27 '22 19:10

cwj


Check your image tagging. Specifically I think you can change FF3.5's behaviour in this regard by editing the gfx.color_management.mode property (see here)

like image 20
butterchicken Avatar answered Oct 27 '22 19:10

butterchicken