Closed Bug 340175 Opened 18 years ago Closed 15 years ago

PNG8 with tRNS is misrendered

Categories

(Core :: Graphics: ImageLib, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: belg4mit, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

I just lost an hour of my life because of this damn bug. It seems ff uses only the tRNS palette when rendering PNGs that include them. That is, the image is transparent and black... no color.

Reproducible: Always

Actual Results:  
A 2-bit image with transparent background
http://web.mit.edu/belg4mit/Public/tRNS.png

Expected Results:  
A color image with transparent background

I don't have root here so I could not upgrade to 1.5.0.4 to test, although I have report of the image displaying correctly under 1.5.0.3 on Linux.
Attached image PNG with tRNS
> Actual Results:  
> A 2-bit image with transparent background
> http://web.mit.edu/belg4mit/Public/tRNS.png
This should have been http://web.mit.edu/belg4mit/Public/tRNSshot.png
WFM Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060602 Minefield/3.0a1, I see colored rectangles when I load the PNG.
Assignee: nobody → pavlov
Component: General → ImageLib
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch
Assignee: pavlov → nobody
QA Contact: imagelib
This is probably fixed somewhere in the dark ages... Marking as WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: