Questions tagged «ghostscript»

4
如何缩小pdf文件的大小?
我正在Ubuntu中寻找一种减小pdf大小的方法(通过降低图像质量)。 我知道可以在Ghostscript中通过在终端中键入以下命令来完成此操作: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf 问题是我无法准确指定质量。参数-dPDFSETTINGS=/screen是决定质量的参数;但其他选择却相当僵化(例如,可以做到-dPDFSETTINGS=/ebook质量稍高)。 我正在寻找一种减小pdf大小的方法,该方法允许我以数字方式指定所需的质量。


1
损坏的ghostscript配置
我的ghostscript配置出了点问题,例如在使用epstopdf时出现以下错误 ./base/gsicc_manage.c:1088: gsicc_open_search(): Could not find default_gray.icc | ./base/gsicc_manage.c:1914: gsicc_init_iccmanager(): cannot find default icc profile ./base/gsicc_manage.c:1088: gsicc_open_search(): Could not find default_rgb.icc | ./base/gsicc_manage.c:1708: gsicc_set_device_profile(): cannot find device profile **** Unable to open the initial device, quitting. ./base/gsicc_manage.c:1088: gsicc_open_search(): Could not find default_gray.icc | ./base/gsicc_manage.c:1708: gsicc_set_device_profile(): cannot find device profile Unrecoverable …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.