Bug 692072

Summary: Wrong color conversion in PDF to PNG
Product: Ghostscript Reporter: Christian Birch <christianrbirch>
Component: ColorAssignee: Michael Vrhel <michael.vrhel>
Status: RESOLVED FIXED    
Severity: major CC: matteosistisette
Priority: P4    
Version: 9.01   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: Problematic PDF

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. ***