Evince displays PNG image embedded in PDF with wrong colors

Bug #600558 reported by Peter Rhone
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppler
Fix Released
Medium
poppler (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: evince

Flesh tones are purple, blondes are green, etc. See attached PDF.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: evince 2.30.3-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
Architecture: i386
Date: Thu Jul 1 12:13:26 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: evince

Revision history for this message
Peter Rhone (prhone-gmail) wrote :
Revision history for this message
Peter Rhone (prhone-gmail) wrote :

...forgot to mention that it displays correctly with xpdf.

Revision history for this message
In , Pedro Villavicencio (pedro) wrote :

this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/poppler/+bug/600558

"Flesh tones are purple, blondes are green, etc. See linked pdf"

pdf:

http://launchpadlibrarian.net/51228635/Fall70.pdf

It works fine with xpdf and acroread.thanks!.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

that's a poppler bug, i'm getting the same behavior with epdfview , reassigning, thanks.

affects: evince (Ubuntu) → poppler (Ubuntu)
Changed in poppler (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:
 https://bugs.freedesktop.org/show_bug.cgi?id=28873

Changed in poppler (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

There must be something wrong in DCTStream.cc since building with --disable-libjpeg fixes the issue.

Revision history for this message
In , Brad Hards (bradh) wrote :

Image is perhaps in CMYK, but its being treated as RGB?

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

It's RGB:

<< /BitsPerComponent 8 /ColorSpace /DeviceRGB /DecodeParms << /ColorTransform 0 >> /Filter /DCTDecode /Height 331 /Subtype /Image /Type /XObject /Width 295 /Length 88452 >>

Revision history for this message
In , James H. Cloos Jr. (cloos-jhcloos) wrote :

> There must be something wrong in DCTStream.cc since building with
> --disable-libjpeg fixes the issue.

That also would explain why it fails for both splash and cairo backends.

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

We are not handling colorXform in DCTStream.cc anyone up for copying the code from Stream.cc ?

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

Fixed in master and poppler-0.14. Thanks!

Revision history for this message
Pedro Villavicencio (pedro) wrote :

this has been fixed upstream now, thanks for reporting.

Changed in poppler (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
madbiologist (me-again) wrote :

Still occurring on Ubuntu 10.10 alpha 2 updated to the latest versions of poppler and Evince.

Uname: Linux 2.6.35-6-generic i686
Packages:
    evince 2.30.3-1ubuntu2
    poppler 0.14.1-0ubuntu1

Revision history for this message
madbiologist (me-again) wrote :

According to the upstream release notes this should be fixed in poppler 0.14.2, but I'm still getting the issue in Ubuntu 10.10 "Maverick Meerkat" alpha updated to:

Uname: Linux 2.6.35-14-generic i686
Package versions: evince 2.30.3-1ubuntu4
                              libpoppler-glib5 0.14.2-real-0ubuntu1
                              libpoppler6 0.14.2.is.0.14.1-oubuntu1
                              libpoppler7 0.14.2.real-0ubuntu1
                              poppler-utils 0.14.2.real-0ubuntu1
                              poppler-data 0.4.2-1
                              libcairo2 1.9.14-1ubuntu1

Revision history for this message
madbiologist (me-again) wrote :

Is there a way to specify which library to use?

Revision history for this message
madbiologist (me-again) wrote :

Fixed with evince 2.31.90-0ubuntu1. Other package versions are the same as above.

Changed in poppler (Ubuntu):
status: Fix Committed → Fix Released
Changed in poppler:
importance: Unknown → Medium
status: Unknown → Fix Released
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.