Closed Bug 956965 Opened 11 years ago Closed 8 years ago

incorrect background and inverted colors in PDF

Categories

(Firefox :: PDF Viewer, defect, P3)

x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
Firefox 52

People

(Reporter: hub, Unassigned)

References

Details

(Whiteboard: [pdfjs-c-rendering][pdfjs-d-jpeg][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/7661)

Attachments

(2 files)

Attached image Incorrect display
Load http://cache.lego.com/bigdownloads/buildinginstructions/6030672.pdf Go to page 33. There is a green rectangle to invert colors. See attached screenshots.
This is how it looks in Evince.
Preview on OSX also shows pink(acrobat doesn't). It appears there's something funky with the jpeg image. We'll have to look further.
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-jpeg]
I still see this effect (in the PDF linked above) in the current ESR, 45.1.1. Additionally, a very similar (the same?) issue can be seen in some standalone JPEGs on Wikimedia Commons: https://commons.wikimedia.org/wiki/File:Versorgung_eines_Notfallpatienten.jpg On that page, the original image (in resolution 1606 × 1205) is fine, but all of the smaller versions generated by MediaWiki appear in distorted colours – mostly pink, cyan, and white. Chromium displays the images correctly, as does (after downloading) ImageMagick.
Whiteboard: [pdfjs-c-rendering][pdfjs-d-jpeg] → [pdfjs-c-rendering][pdfjs-d-jpeg][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/7661
Depends on: 1306522
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: