Bug 691724 - Colors too bright with -dUseCIEColors
Summary: Colors too bright with -dUseCIEColors
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Color (show other bugs)
Version: master
Hardware: PC All
: P2 normal
Assignee: Michael Vrhel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 03:38 UTC by Marcos H. Woehrmann
Modified: 2011-10-02 02:35 UTC (History)
0 users

See Also:
Customer: 871
Word Size: ---


Attachments
2b.pdf (26.69 KB, application/pdf)
2010-10-27 03:38 UTC, Marcos H. Woehrmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2010-10-27 03:38:09 UTC
Created attachment 6838 [details]
2b.pdf

With Ghostscript 9.00 and head (r11850) the color in the attached file is rendered much lighter than with gs8.71 when -dUseCIEColors is specified.  With 8.71 the image is closer 

The command line I'm using for testing:

  bin/gs -sDEVICE=ppmraw -o test.ppm -dUseCIEColor ./2b.pdf
Comment 1 Michael Vrhel 2010-10-27 05:42:58 UTC
I will dig into this to find out what is going on. -dUseCIEColors should not really be used any longer but rather the new ICC work flow should be used which is the default case.
Comment 2 Ken Sharp 2010-10-27 07:37:53 UTC
(In reply to comment #1)
> I will dig into this to find out what is going on. -dUseCIEColors should not
> really be used any longer but rather the new ICC work flow should be used which
> is the default case.

That won't work with pdfwrite until we can write version 2 ICC profiles. We need to be able to set UseCIEColor in order to convert inappropriate device spaces when producing PDF/X or PDF/A. Although as noted yesterday on IRC this doesn't seem to be working when the input is a PDF file (for me). Though clearly it is having some effect here, and the input is PDF....
Comment 3 Michael Vrhel 2010-10-27 14:04:37 UTC
OK.  Yes.  The exception on -dUseCIEColor being the pdfwrite case, which Ken and I spoke about at the meeting
Comment 4 Michael Vrhel 2010-12-02 21:18:17 UTC
OK.  So the issue appears to be that the profile that I am generating from the default sRGB CIEABC color space defined in the postscript initialization code is not a good representation.  I will dig further into this.  However, for optimal color, I would still discourage using -dUseCIEColor unless as discussed above, the user is trying to do something special with the pdfwrite device.
Comment 5 Michael Vrhel 2010-12-04 06:43:24 UTC
I found the issue with this.  Regression testing now and fix should be committed in the next couple days.
Comment 6 Michael Vrhel 2010-12-04 21:12:50 UTC
Fixed with rev 11934