Bug 692098

Summary: Wrong color conversion
Product: Ghostscript Reporter: Christian Birch <christianrbirch>
Component: ColorAssignee: Michael Vrhel <michael.vrhel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P4    
Version: master   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: Problematic PDF

Description Christian Birch 2011-03-25 12:17:30 UTC
Created attachment 7397 [details]
Problematic PDF

Converting PDF to PNG produces incorrect colors compared to those of Acrobat which are correct. Adding option UseCIEColor, however, produces correct colors like those in Acrobat (but this option should not be necessary to use, AFAIK).

I am using revision 12309 (current head) with command line that causes incorrect colors:

gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -dUseCropBox -r200 -sOutputFile=debug.png debug.pdf

Now, add option UseCIEColor and colors will be correct:

gs -dUseCIEColor -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -dUseCropBox -r200 -sOutputFile=debug.png debug.pdf

Without UseCIEColor, the black boxes (on which every price is placed on) will be purple-ish.

The problematic PDF has been attached.
Comment 1 Michael Vrhel 2011-05-20 00:52:16 UTC
I tried this file with the head and it renders correctly for me.
Comment 2 Christian Birch 2011-05-20 08:44:09 UTC
Michael, you're right, this has been fixed in HEAD