Open Bug 1497973 Opened 6 years ago Updated 2 years ago

Firefox does not show correct colors when displaying a URL of a JPEG with sRGB in the ICC tags

Categories

(Core :: Graphics: ImageLib, defect, P3)

defect

Tracking

()

REOPENED
Webcompat Priority P3

People

(Reporter: Atoll, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

Attachments

(3 files)

On an iMac 21.5" Retina (2017) with macOS 10.14, when I navigate to this URL:

https://2.img-dpreview.com/files/p/sample_galleries/7065627980/3593200557.jpg

Firefox shows blown-out red in the plant's stem, a common indicator of failing to convert the JPEG's sRGB ICC profile to the display's ICC profile.

Preview.app, Safari, and Chrome correctly show the stem in its intended visual representation, slightly desaturated like the rest of the photo and without sRGB-to-widecolor conversion issues.

The image file's EXIF correctly indicates that it is an sRGB image using the standard EXIF ColorSpace tag:

$ exiftool -a -S -G0 -ColorSpace -InteropIndex -WhitePoint -PrimaryChromaticities -Gamma -ICC_Profile:all 3593200557.jpg  
[EXIF] ColorSpace: sRGB
[EXIF] InteropIndex: R98 - DCF basic file (sRGB)
Attachment #9016009 - Attachment mime type: application/octet-stream → application/vnd.iccprofile
Component: General → ImageLib
Product: Firefox → Core
I checked about:config and all gfx.* values are 'default' unchanged. Nightly 20181010.

gfx.color_management.display_profile;
gfx.color_management.enablev4;false
gfx.color_management.mode;2
gfx.color_management.rendering_intent;0
:aosmond, can you comment to the bug?
Flags: needinfo?(aosmond)
Priority: -- → P3
Whiteboard: [gfx-noted]
Flags: needinfo?(aosmond)

Does it still happen?
because there is a webcompat issue
https://github.com/webcompat/web-bugs/issues/54570#issuecomment-651598386
(which I can't reproduce in my specific setting, but could be similar.)

I am still able to reproduce this using Firefox (oversaturated) and Safari (correct), on latest Nightly and macOS 10.14.

On my iMac, I was able to demonstrate this issue using Digital Color Meter; the display is set to native profile (which is Display P3) and the color meter is set to sRGB. The lower image in this screenshot is Safari and the upper image is Firefox. As shown, Firefox is displaying the colors of the sRGB image in a way that exceeds the sRGB colorspace, resulting in the (clipped) notation and the broken display to the user. (The O is where the cursor was when I took the screenshot.)

Copied from https://github.com/webcompat/web-bugs/issues/54570#issuecomment-652562703

Webcompat Priority: --- → ?
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE

Please don't resolve bugs as inactive. If the bug still exists then the bug should stay open.

Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---

Alright. I can't attest whether any of these bugs still exist, and I thought I was polluting the bug pool; my apologies.

Webcompat Priority: ? → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: