Ghostscript-不显示带有套印的对象 [英] Ghostscript - don't show objects with overprint set
问题描述
我正在尝试通过将上传的预览pdf转换为jpeg来进行转换.请有人能告诉我如何预览叠印吗?也就是说,如果将白色对象设置为在彩色背景上叠印,则不应显示它-我们只会看到背景.
I'm trying to convert preview pdfs uploaded by converting them to jpeg. Please can someone tell me how I can preview overprint? i.e. if a white object is set to overprint over a coloured background it shouldn't be shown - we only see the background.
/c 'C:\Program Files\gs\gs9.10\bin\gswin64c.exe' -o image%04d.jpg -sDEVICE=jpeg -dJPEGQ=60 -r150 -dSimulateOverprint=false -dUseCropBox uploaded.pdf
我又如何输出/列出已创建的文件?
Also how can I output/list the created files?
谢谢
推荐答案
叠印仅针对CMYK油墨定义,因此您需要运行支持CMYK输出的设备.如果您选择灰色或RGB,则CMYK值将转换为RGB,并且将不再套印.
Overprint is only defined for CMYK inks, so you need to run to a device which support CMYK output. If you go to gray or RGB then the CMYK values are converted to RGB and will no longer overprint.
尝试使用tiff32nc设备.如果您真的想使用jpeg,则为jpegcmyk.
Try the tiff32nc device. Or jpegcmyk if you really want to use jpeg.
这篇关于Ghostscript-不显示带有套印的对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!