Closed Bug 1063084 Opened 10 years ago Closed 10 years ago

bmpDecoder incorrectly reports rle4-delta-320x240.bmp as opaque

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: BenWa, Assigned: BenWa)

References

Details

Attachments

(1 file)

We don't support alpha_mask in the bmp decoder but with compression it's possible to use delta to avoid encoding a pixel making it transparent. This is what rle4-delta-320x240.bmp does for the middle region.
Attached patch patchSplinter Review
Assignee: nobody → bgirard
Status: NEW → ASSIGNED
Attachment #8484449 - Flags: review?(seth)
This patch fixes the reftest failure in bug 1056944.
OS: Mac OS X → All
Hardware: x86 → All
Comment on attachment 8484449 [details] [diff] [review]
patch

Review of attachment 8484449 [details] [diff] [review]:
-----------------------------------------------------------------

Makes sense. Thanks for fixing this!

(Commit message needs 'r=seth'.)
Attachment #8484449 - Flags: review?(seth) → review+
https://hg.mozilla.org/mozilla-central/rev/de8ffebb348e
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: