Bug 692780 - sOutputICCProfile do not work
Summary: sOutputICCProfile do not work
Status: RESOLVED INVALID
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: 9.04
Hardware: PC Windows Vista
: P4 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 12:15 UTC by Adrian
Modified: 2012-01-10 13:59 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.