Friday, May 1, 2009

firefox image scaling and line artifacts

I'm still at a loss why image scaling in firefox exhibits line artifacts with certain images at certain scaling values.

The first pink bar image scales fine.

The second pink bar image, with a black smudge in the upper left corner, doesn't scale fine. At 50%, grey lines show up at the left and top borders of the image.

What gives? What next steps should I take? Stuff I have/haven't tried:
- haven't been able to try this on a windows box so am unable to tell if it's some sort of X windows issue.
- tried it running X remotely on a sparc box and the same lines show up
- the page looks fine in opera
- tried jpeg, gif, png - same artifact occurs in each case

XHTML and images are at: