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;
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.