Bug 692072 - Wrong color conversion in PDF to PNG
Summary: Wrong color conversion in PDF to PNG
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Color (show other bugs)
Version: 9.01
Hardware: PC Linux
: P4 major
Assignee: Michael Vrhel
URL:
Keywords:
: 692603 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-16 00:07 UTC by Christian Birch
Modified: 2011-10-16 19:51 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
Problematic PDF (3.37 MB, application/download)
2011-03-16 00:07 UTC, Christian Birch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Birch 2011-03-16 00:07:15 UTC
Created attachment 7372 [details]
Problematic PDF

Summary:
Converting PDF->PNG produces wrong colors in the final PNG. Using dUseCIEColor improves the result a bit (towards the right colors). Not using dUseCIEColor will produce colors that are completely off (purple for black, etc).

Expected result: 
http://goo.gl/nwxQW (flip to page 6)

Actual result: 
http://goo.gl/2ls3B

Command line:

-dUseCIEColor -dNumRenderingThreads=1 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -dAlignToPixels=0 -dGridFitTT=0 -dUseCropBox -r250

Attached is the original PDF.
Comment 1 Christian Birch 2011-03-25 12:20:11 UTC
Tried latest head revision (12309) which produces correct colors for this page. The bug has most likely been fixed.

However, using the newest head revision, another bug has shown up: http://bugs.ghostscript.com/show_bug.cgi?id=692098
Comment 2 matteosistisette 2011-10-16 19:51:33 UTC
*** Bug 692603 has been marked as a duplicate of this bug. ***