如何使用ghostscript将PDF转换为PDF/A或PDF/X? [英] How to use ghostscript to convert PDF to PDF/A or PDF/X?
问题描述
是否可以使用ghostscript将PDF转换为PDF/A或PDF/X?我知道它可以用于将PDF转换为图像,但是我不知道它是否可以用于转换PDF/A.我应该使用什么参数?
Is there a way to use ghostscript to convert PDF to PDF/A or PDF/X? I know it can be used to convert PDF to images, but I don't know if it can be used to convert PDF/A. What parameters should I use?
推荐答案
这是将pdf文档(不是pdf/a)转换为pdf/a:
gs -dPDFA -dBATCH -dNOPAUSE -dUseCIEColor -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -sPDFACompatibilityPolicy=1 -sOutputFile=output_filename.pdf input_filename.pdf
This is to convert a pdf document (not pdf/a) into pdf/a:
gs -dPDFA -dBATCH -dNOPAUSE -dUseCIEColor -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -sPDFACompatibilityPolicy=1 -sOutputFile=output_filename.pdf input_filename.pdf
希望这会有所帮助!
这篇关于如何使用ghostscript将PDF转换为PDF/A或PDF/X?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!