incorrect background and inverted colors in PDF

RESOLVED FIXED in Firefox 52

Status

()

Firefox
PDF Viewer
P3
normal
RESOLVED FIXED
4 years ago
2 years ago

People

(Reporter: hub, Unassigned)

Tracking

Trunk
Firefox 52
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
Created attachment 8356368 [details]
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.
(Reporter)

Comment 1

4 years ago
Created attachment 8356369 [details]
Correct display (from Evince)

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]

Comment 3

2 years ago
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
Last Resolved: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
You need to log in before you can comment on or make changes to this bug.