Closed Bug 1911920 Opened 2 years ago Closed 2 years ago

ColorProfileConversionDesc incorrectly skips transfer function steps if src and dst same TF

Categories

(Core :: Graphics: Color Management, defect, P1)

defect

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

Attachments

(2 external files)

This is incorrect, because e.g. color(srgb 1 0 0) converts to color(display-p3 0.91 0.20 0.13), but if we skip the TF, srgb's red=1 is still srgb-linear red=1, but display-p3-linear-red is ~0.8, so skipping the TF here effectively converts srgb to display-p3-linear. (thanks for recognizing this irregularity, Brad!)

Blocks: 1885446
Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1dcb80bc6b27 Gtest for ColorProfileConversionDesc between Srgb and Displayp3. r=gfx-reviewers,lsalzman https://hg.mozilla.org/integration/autoland/rev/6941e8e0d44d Always apply TF ops in ColorProfileConversionDesc. r=gfx-reviewers,lsalzman
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
Regressions: 1912677
Regressions: 1912887
Regressions: 1912330
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: