Closed Bug 454430 Opened 16 years ago Closed 16 years ago

MochiTests need to force sRGB as an output profile

Categories

(Core :: Graphics: Color Management, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bholley, Unassigned)

References

Details

Attachments

(1 file)

Similar to bug 452125, but this affects mochitests instead of reftests. 

The canvas mochitests are failing because they draw into the canvas, read it out with getImageData, and expect the colors to be identical. Since we color correct as we draw into the buffer, there's (unfortunately) no way to guarantee this. As a kind of crappy workaround, we use the srgb forcing machinery we put together for reftests to more or less nullify the effects of color management during mochitests.

Flagging vlad for review.
Attachment #337698 - Flags: review?(vladimir)
pushed in 0fbab18a3e8f
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: GFX → GFX: Color Management
Product: Core Graveyard → Core
QA Contact: general → color-management
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: