Closed Bug 901174 Opened 11 years ago Closed 11 years ago

Image incorrectly loaded and rendered in canvas

Categories

(Core :: Graphics: Canvas2D, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: azakai, Unassigned)

Details

Attachments

(1 file)

Attached file case.zip
The attached testcase loads a png image, then renders it into a canvas.

The image should be a red triangle, 255,0,0 in each pixel. However, on one of my two machines, on firefox (but not chrome), the triangle is rendered as a less saturated red. Running the testcase there, it reports 219 instead of 255, and you can also visually see that it is not 100% saturated as it should be.

This is breaking many things in the emscripten test suite, which relies on loading images and reftesting them against something that was just rendered.
I guess this is a png color correction issue.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: