Open Bug 1322030 Opened 5 years ago Updated 2 years ago

Color management for a pic only with EXIF InteropIndex


(Core :: GFX: Color Management, enhancement, P3)






(Reporter: bxp04335, Unassigned)


(Whiteboard: [gfx-noted])


(2 files)

Firefox doesn't handle a color space of a picture only with InteropIndex correctly.

<steps of reproduce>
1. open an attached JPEG, InteropIndex.jpg
2. open another attached JPEG, InteropIndexICCProfile.jpg
3. <reproduce> Firefox doesn't show two JPEGs as the same color.

I confirmed it on this build:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0 ID:20161203030204 CSet: 557548714db55136b51e1129d649e2599797985f

<expected result>
Firefox shows two JPEGs as the same color.

InteropIndex.jpg has only EXIF InteropIndex = R03, Adobe RGB. InteropIndexICCProfile.jpg is InteropIndex.jpg which ICC Profile for Adobe RGB is added in.
Firefox seems to require ICC Profile in a picture to choose its color space. But most of cameras, including my Pentax K-3 making InteropIndex.jpg, write a JPEG picture only with EXIF InteropIndex, without ICC Profile. Firefox should choose a color space only with EXIF InteropIndex.

Microsoft Edge handles EXIF InteropIndex effectively. Little cms apparently also does.
Keywords: feature
Priority: -- → P3
Whiteboard: [gfx-noted]
Type: defect → enhancement
Keywords: feature
You need to log in before you can comment on or make changes to this bug.