Closed
Bug 463465
Opened 16 years ago
Closed 15 years ago
Artifacts in APNG frames
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
People
(Reporter: tracy, Assigned: glennrp+bmo)
References
(Blocks 1 open bug, )
Details
(Keywords: regression, Whiteboard: [FFT3.5])
Attachments
(2 files, 2 obsolete files)
2.15 KB,
patch
|
joe
:
review+
vlad
:
superreview+
dveditz
:
approval1.9.0.18-
|
Details | Diff | Splinter Review |
5.19 KB,
image/png
|
Details |
The test case for fixed bug 420416 has regressed in nightly trunk builds.
the second image has a smear
Flags: in-litmus+
Comment 1•16 years ago
|
||
Regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2008-09-12+08%3A00%3A00&enddate=2008-09-13+09%3A00%3A00
tested on the presence of the stripes.
Assignee | ||
Comment 3•16 years ago
|
||
This is closely related to bug #433047 if not a dupe.
Assignee: nobody → glennrp
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•16 years ago
|
||
Assignee | ||
Comment 5•16 years ago
|
||
also takes care of non-progressive reading
Attachment #377927 -
Attachment is obsolete: true
Assignee | ||
Comment 6•16 years ago
|
||
Comment on attachment 377978 [details] [diff] [review]
Patch to clear the prev_row before each APNG frame (v1)
This does not need to wait for libpng-1.2.37, which does not address this problem.
Attachment #377978 -
Flags: review?(joe)
Assignee | ||
Comment 7•16 years ago
|
||
Would someone with access to the tri-server please make a tri-server build with this patch?
Comment 8•16 years ago
|
||
Done - it's building now. I'll update when it's done.
Comment 9•16 years ago
|
||
https://build.mozilla.org/tryserver-builds/jdrew@mozilla.com-glennrp-apng-v1/ - linux is done, others will be showing up. I haven't looked at unittest results, though.
Assignee | ||
Comment 10•16 years ago
|
||
The test case for bug #420416 still has the artifacts with the triserver Windows build. I haven't tried the other two builds. The test case for bug #433047 also still displays artifacts.
Assignee | ||
Comment 11•16 years ago
|
||
The test case for this bug looks OK, however.
Assignee | ||
Comment 12•16 years ago
|
||
This (v1) patch will be included in the upcoming libpng-1.2.37 release that's due out June 4th.
Assignee | ||
Comment 13•16 years ago
|
||
Moved memset of prev_row into png_read_reinit()
@joe: please make another triserver build with this patch together with the patch from bug #397593
Attachment #377978 -
Attachment is obsolete: true
Attachment #377978 -
Flags: review?(joe)
Assignee | ||
Comment 14•16 years ago
|
||
I believe the purpose of the code that the patch removes was to save CPU cycles in blending opaque images. Throwing a png_error() seems an excessive response; a png_warning() is more appropriate. Also the test was incorrect because it did not account for the possibility of a tRNS chunk in truecolor or grayscale images. Furthermore, the test rejects indexed-color PNGs but throws an error saying it is rejecting a truecolor PNG. Instead, we will simply ignore PNG_BLEND_OP_OVER in opaque images and use the simpler PNG_BLEND_OP_SOURCE, which produces the same result for opaque images, instead.
Assignee | ||
Comment 15•16 years ago
|
||
Sorry, the previous comment belongs in bug #441971.
Assignee | ||
Comment 16•16 years ago
|
||
The test case mentioned in the description (solar flare image) looks fine with Joe's latest triserver build, which includes the v2 patch. The simple TEST 1/TEST 2 image also looks fine.
Assignee | ||
Updated•16 years ago
|
Attachment #380718 -
Flags: superreview?(tor)
Attachment #380718 -
Flags: review?(joe)
Assignee | ||
Comment 17•16 years ago
|
||
They look fine on Windows XP. I am not in position to try the other platforms.
Assignee | ||
Comment 18•16 years ago
|
||
The v2 patch is incorporated in the libpng-1.2.37 patch (bug #492200)
If this one gets checked in before libpng-1.2.37 then I'll revise
the libpng-1.2.37 patch to avoid merge conflict. If libpng patch gets
checked in first then this one will become obsolete.
Updated•16 years ago
|
Attachment #380718 -
Flags: superreview?(vladimir)
Attachment #380718 -
Flags: superreview?(tor)
Attachment #380718 -
Flags: review?(joe)
Attachment #380718 -
Flags: review+
Attachment #380718 -
Flags: superreview?(vladimir) → superreview+
Comment 19•16 years ago
|
||
Here is a screenshot of the issue.
Comment 20•16 years ago
|
||
Adding [FFT3.5] in whiteboard. Came across this issue during RC1 testing
Whiteboard: [FFT3.5]
Comment 21•15 years ago
|
||
Can this one be approved for check-in?
Comment 22•15 years ago
|
||
Fixed by landing of bug 504805.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Updated•15 years ago
|
Attachment #380718 -
Flags: approval1.9.2?
Attachment #380718 -
Flags: approval1.9.1.7?
Attachment #380718 -
Flags: approval1.9.0.17?
Comment 23•15 years ago
|
||
Comment on attachment 380718 [details] [diff] [review]
Patch to clear the prev_row before each APNG frame (v2)
approval1.9.2 requests aren't currently being monitored, since we're nearing RC freeze and there are too many outstanding requests, so I'm clearing this request. Feel free to re-request approval if you are confident that it's worth drivers' time to consider whether this non-blocker needs to land for 1.9.2 at this stage.
Attachment #380718 -
Flags: approval1.9.2?
Updated•15 years ago
|
Attachment #380718 -
Flags: approval1.9.1.7?
Attachment #380718 -
Flags: approval1.9.0.17?
Attachment #380718 -
Flags: approval1.9.0.17-
You need to log in
before you can comment on or make changes to this bug.
Description
•