Summary: | Using -sOutputICCProfile produces an invalid cups raster file using the cups output device | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Richard Hughes <richard> |
Component: | Color | Assignee: | Michael Vrhel <michael.vrhel> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | till.kamppeter |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | all the input and output files showing the bug |
The command line ./gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -dcupsColorSpace=6 -sOutputICCProfile=/usr/share/color/icc/FakeBRG.icc -dcupsBitsPerColor=8 -r300 -sDEVICE=cups -sOutputFile=~/test.raster ~/test-input.pdf Makes no sense since you are specifying that the output color space is CMYK (-dcupsColorSpace = 6) and you are specifying that your output ICC profile is RGB based (profile -sOutputICCProfile=/usr/share/color/icc/FakeBRG.icc is a RGB profile). Marking this as invalid. |
Created attachment 9071 [details] all the input and output files showing the bug This works rather well: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -dcupsColorSpace=6 -dcupsBitsPerColor=8 -r300 -sDEVICE=cups -sOutputFile=~/test.raster ~/test-input.pdf This works really not well at all: ./gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -dcupsColorSpace=6 -sOutputICCProfile=/usr/share/color/icc/FakeBRG.icc -dcupsBitsPerColor=8 -r300 -sDEVICE=cups -sOutputFile=~/test.raster ~/test-input.pdf The resulting raster file has just black blocks where the text should be. Using another input PDF which contains untagged images (my airline boarding pass, if you care) results in a C,M,Y,K banded image throughout the document. Using 9.06 the whole file has the CMYK banding, using git master only some parts of the file have the banding. I have attached the input files, the ICC profile and the output files which show the bug. Please ask if you have any questions. As an aside using the output device of "pdf", Acrobat X 10.1.4 says "unable to analyse the PDF file", "An error occurred while parsing a contents stream, Unable to analyse the PDF file" only when using sOutputICCProfile.