Linux压缩pdf

参考:
https://stackoverflow.com/questions/9625967/changing-pdf-image-dpi-using-gs
http://milan.kupcevic.net/ghostscript-ps-pdf/

gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOutputFile=output.pdf  input.pdf

各种PDFSETTINGS对应的dpi如下
在这里插入图片描述

posted @ 2024-09-28 13:05  寻找繁星  阅读(14)  评论(0)    收藏  举报