How to convert a PDF to grayscale from command line avoiding to be rasterized?

后端 未结 7 977
暖寄归人
暖寄归人 2020-12-14 08:51

I\'m trying to convert to grayscale this PDF: https://dl.dropboxusercontent.com/u/10351891/page-27.pdf

Ghostscript (v 9.10) with pdfwrite Device fails with a \"Unabl

7条回答
  •  不思量自难忘°
    2020-12-14 09:19

    gs \
       -sDEVICE=pdfwrite \
       -sProcessColorModel=DeviceGray \
       -sColorConversionStrategy=Gray \
       -dOverrideICC \
       -o out.pdf \
       -f page-27.pdf
    

    This command converts your file to grayscale (GS 9.10).

提交回复
热议问题