Images have wrong color in Firefox




6 years ago
6 years ago


(Reporter: mark, Unassigned)


21 Branch
Windows 7

Firefox Tracking Flags

(Not tracked)



(1 attachment)



6 years ago
Created attachment 766164 [details]
color oddness naridian2.jpg

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803

Steps to reproduce:

I regularly visit art sites and photograph sites. I found that just as regularly, Firefox does not display images correctly, and displays them with the wrong colors. It seems to be related to having an embedded color profile in images (PNG and JPG alike) - even using a standard sRGB profile which is pretty much linear screws up the display of the images.

Of note is that disabling color management (gfx.color_management.mode to 0) fixes the issues. gfx.color_management.rendering_intent settings seem to have no effect whatsoever on correcting the issue (even if set to using the embedded profile it still displays exactly the same)

As a side note: my monitor is a properly calibrated E-IPS screen. Only Firefox has the display issue.

Actual results:

Any image with an embedded color profile is displayed with wrong colors. Color banding occurs and/or too dark images with massive lost of detail.

Expected results:

Images should be displayed properly. Perhaps it would be best to disable color management by default and ONLY let people enable it in the browser if they have verified it improves their display of images.


6 years ago
Component: Untriaged → GFX: Color Management
Product: Firefox → Core

Comment 1

6 years ago
Could this possibly be related to the fact that Firefox, apparently, only knows how to deal with the ancient v2 ICC specification, that it as a result doesn't try to convert color space to monitor colors (and shows it as-if using coated media) when finding the commonly used v4 profiles it doesn't support?

Comment 2

6 years ago
More information:
1) If I fire up Firefox in a Windows XP VM (VMWare) that uses generic VGA, the issue doesn't show up.
2) I tested with Opera 12, Chrome 27 and MSIE 9 (all of which should support full color management?) and none of those browsers display this issue.

Comment 3

6 years ago
Seems I managed to fix it recreating a monitor calibration profile for ICC v2 and tinkering with settings - I gather it's not necessarily broken, just very limited in its support, which can be worked around if you know what you are doing.
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.