Bug 692780

Summary: sOutputICCProfile do not work
Product: Ghostscript Reporter: Adrian <adil>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P4    
Version: 9.04   
Hardware: PC   
OS: Windows Vista   
Customer: Word Size: ---

Description Adrian 2012-01-10 12:15:09 UTC
Hi ,

i'm new with ghostscript.
I do not know if it's a bug, but I do not know where to ask about such proble:
The command is 
gswin32c -q -dBATCH -sOutputICCProfile="profile" -sDEVICE=pdfwrite -sOutputFile=afis1.pdf afis.pdf.

Normally,in output pdf I must find an object with ICCBased description and ICC profile embedded in PDF, but nothing hapened. 
I do some mistake in cmd line?
Can you help me to solve this problem?
Thank you very much.
Comment 1 Ken Sharp 2012-01-10 13:59:03 UTC
(In reply to comment #0)

> I do not know if it's a bug, but I do not know where to ask about such proble:
> The command is 
> gswin32c -q -dBATCH -sOutputICCProfile="profile" -sDEVICE=pdfwrite
> -sOutputFile=afis1.pdf afis.pdf.
> 
> Normally,in output pdf I must find an object with ICCBased description and ICC
> profile embedded in PDF, but nothing hapened.

Why do you think this should embed an ICC Profile in the output PDF file ? Is this behaviour mentioned somewhere in the documentation ?  

I can see no evidence that this has ever been the case for pdfwrite.

The OutputICCProfile switch has an effect for rendering devices, but not for the high level devices, in part because these devices are capable of supporting many different colour spaces simultaneously and so it isn't really possible for a single ICC profile to be applicable.

In order for a single ICC profile to be appropriate all colour specifications would have to be converted into the ICC colour space and the high level devices such as pdfwrite specifically do *not* do that.

By selecting PDF/X-3 or PDF/A you can have a somewhat similar effect, but only for certain colour spaces. Please see the document ps2pdf.htm for more details.