Hi everyone, we have a lot of print ready PDFs that we want to downsample to a smaller size that are suitable for online downloads. I am using GhostScript like this:
"C:\Program Files\gs\gs8.64\bin\gswin32c.exe" -q -dNOPAUSE -dBATCH -dSAFER -dPDFSETTINGS=/screen -sDEVICE=pdfwrite -sOutputFile="c:\gs_out.pdf" -f "c:\6916_DE.pdf"
The problem is that GhostScript is failing to convert one image so when I am opening the resulting PDF Adobe Reader warns me about a possible error in the file. If i change the PDFSETTINGS parameter to /print the output works but the filesize is not reduced.
I have read the help file for ps2pdf and I have found one critical parameter, ColorConversionStrategy. When ColorConversionStrategy is set to sRGB the image will be removed, when set to UseDeviceIndependentColor, which is the default for the /print setting, the image is still there but the file size is not reduced.
The image is transparent so that might be one factor aswell.
Anyone got any ideas?