Bug 692098 - Wrong color conversion
Summary: Wrong color conversion
Status: RESOLVED WORKSFORME
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Color (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: Michael Vrhel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 12:17 UTC by Christian Birch
Modified: 2011-09-20 20:41 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Problematic PDF (714.97 KB, application/pdf)
2011-03-25 12:17 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-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