Closed Bug 408210 Opened 18 years ago Closed 18 years ago

certain formats of pngs come out garbled when printing

Categories

(Core :: Printing: Output, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 407360

People

(Reporter: jorikdti, Assigned: vlad)

References

()

Details

User-Agent: Opera/9.23 (X11; Linux i686; U; en) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2007121314 Minefield/3.0b3pre When printing certain types of pngs (4 bit colormapped for example), the result on paper is a garbled image. In print preview the images look ok, but if I print (to pdf for example), the results are just images with random noise. (see actual results url) Reproducible: Always Steps to Reproduce: 1. open http://graphics.tudelft.nl/~jorik/svgtest/pngtest/ 2. print (to pdf for example) 3. look at the results and compare the images with the on-screen version Actual Results: http://graphics.tudelft.nl/~jorik/svgtest/pngtest/ff3-nightly-postscript.png Expected Results: You would expect that the images would all look the same, as only the compressed format and the colorspace is different.
Marking b1.9? in case there's a security issue with reading bad memory here.
Flags: blocking1.9?
That's odd; everything internally should be either ARGB32 or XRGB32 (except for GIFs which get optimized, but even below this layer). There's something weird going on. The 'wrong' images look like the stride is being computed wrong (width * 3 instead of width * 4, but I've no idea what's doing that...)
Flags: blocking1.9? → blocking1.9+
Priority: -- → P3
Assignee: nobody → vladimir
Yeah, this turns out to be the same bug as 407360; the mask is being computed wrong.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.