PNG8 with tRNS is misrendered

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
13 years ago
10 years ago

People

(Reporter: belg4mit, Unassigned)

Tracking

1.8 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

13 years ago
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.
(Reporter)

Comment 1

13 years ago
Created attachment 224249 [details]
PNG with tRNS
(Reporter)

Comment 2

13 years ago
Created attachment 224250 [details]
Screenshot of misrendering
(Reporter)

Comment 3

13 years ago
> 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

Comment 4

13 years ago
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

Updated

12 years ago
Assignee: pavlov → nobody
QA Contact: imagelib

Comment 5

10 years ago
This is probably fixed somewhere in the dark ages... Marking as WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.