Summary: | Broken PDF/X-3 generated | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | francesco.fiorella96 |
Component: | PDF Writer | Assignee: | Ken Sharp <ken.sharp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 9.23 | ||
Hardware: | PC | ||
OS: | Windows 10 | ||
Customer: | Word Size: | --- | |
Attachments: | Input PDF file and PS definition file |
Commit aba212c73d6f10fe891786a938bb461636563dba properly sets the ProcessColorModel when requested (and when the model is different to that specified in ColorConversionStrategy). The missing error had already been addressed in an earlier commit. |
Created attachment 15287 [details] Input PDF file and PS definition file I am trying to generate a PDF/X-3 file from another pdf and converting to another ICC color profile too. I tried this command but it is giving me a completely blank pdf file as output. No errors or warnings at all (even with -dDEBUG enabled). Here's the command: .\gswin64c.exe -dPDFX -dNOPAUSE -dBATCH -dDEBUG -sDEVICE=pdfwrite -sColorConversionStrategy=/UseDeviceIndependentColor -sProcessColorModel=DeviceCMYK -dColorAccuracy=2 -dRenderIntent=0 -dAutoFilterColorImages=false -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dGrayImageFilter=/FlateEncode -dDownsampleMonoImages=false -dDownsampleGrayImages=false -dDownsampleColorImages=false -sOutputICCProfile="C:/Program Files/gs/gs9.23/bin/profiles/CMYK/WebCoatedSWOP2006Grade5.icc" -dDeviceGrayToK=true -sOutputFile="final-cmyk0.pdf" final0_PDFX_def.ps test.pdf;