Closed
Bug 320510
Opened 19 years ago
Closed 17 years ago
Canvas renders gif image with mask incorrectly
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ehammerv, Unassigned)
References
()
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051215 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051215 Firefox/1.6a1
When inserting an gif image with a transparency mask canvas renders the mask incorrectly, it looks as though it is inverting the x-axis starting point of the mask and the edges of the image are displayed in a jagged sissor pattern.
Reproducible: Always
Steps to Reproduce:
1. var testimg = new Image();
2. testimg.src = "images/test.gif";
3. ctx.drawImage(testimg,50,50,214,214);
Comment 1•19 years ago
|
||
attach testcase please
Comment 2•19 years ago
|
||
testcase next
Comment 3•19 years ago
|
||
Comment 4•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20051220 Firefox/1.6a1 ID:2005122023
Confirmed
->New
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•19 years ago
|
||
*** Bug 330478 has been marked as a duplicate of this bug. ***
Comment 6•18 years ago
|
||
Note also bug 332454.
Comment 7•18 years ago
|
||
This seems fixed for me in 1.8.1 (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.1b1) Gecko/20060710 Firefox/2.0b1). The test cases in bug 330478 and bug 332454 also work.
Probably related to "the handling of 1-bit images is horked (bits are packed backwards). I'll fix." comment in bug 329598.
*** Bug 332454 has been marked as a duplicate of this bug. ***
Fixed in trunk
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•