Closed
Bug 294134
Opened 19 years ago
Closed 19 years ago
fix canvas premultiplied-alpha handling
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: vlad, Assigned: vlad)
Details
Attachments
(1 file)
9.38 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
Cairo image surfaces are stored with premultiplied alpha; gfxIImageFrames are not. Patch fixes our handling of these two, to correctly premultiply/unpremultiply when going back and forth.
Assignee | ||
Comment 1•19 years ago
|
||
Patch. Also fixes initial surface clearing to fully transparent black as required by the spec.
Attachment #183569 -
Flags: review?(pavlov)
Comment 2•19 years ago
|
||
Comment on attachment 183569 [details] [diff] [review] canvas alpha fix r=pavlov
Attachment #183569 -
Flags: review?(pavlov) → review+
Assignee | ||
Comment 3•19 years ago
|
||
Fixed on trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 4•19 years ago
|
||
this caused further color regression in bug 293353
You need to log in
before you can comment on or make changes to this bug.
Description
•