Bug 691731

Summary: ICCbased spaces not preserved
Product: Ghostscript Reporter: Ken Sharp <ken.sharp>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: NOTIFIED FIXED    
Severity: normal CC: michael.vrhel
Priority: P2    
Version: master   
Hardware: PC   
OS: Windows Vista   
Customer: 1 Word Size: ---
Attachments: PDF file with a simple object in an ICCBased space.

Description Ken Sharp 2010-10-27 15:43:10 UTC
Created attachment 6842 [details]
PDF file with a simple object in an ICCBased space.

PDF files which contain valid ICCBased colour spaces produce PDF files where 
the colours have been converted to the Alternate space instead of preserving
the ICCBased colour space.

This is due to the new ICC workflow, and is caused because pdfwrite cannot differentiate between an ICCBased space which was in the original document, and one which has been manufactured for colours in a different original space.

As a result the ICCbased space is treated as the base space instead, leading to the loss of the original ICC colour space.
Comment 1 Ken Sharp 2010-10-27 15:43:59 UTC
P2 for customer bug.
Comment 2 Michael Vrhel 2010-10-28 19:58:15 UTC
rev 11870 should take care of this issue.
Comment 3 Ken Sharp 2010-10-29 07:51:33 UTC
Fixed in revision 11870, patch here:

http://ghostscript.com/pipermail/gs-cvs/2010-October/011913.html