使用ImageMagick或Ghostscript(或其他东西)来缩放PDF以适合页面? [英] Using ImageMagick or Ghostscript (or something) to scale PDF to fit page?

查看:130
本文介绍了使用ImageMagick或Ghostscript(或其他东西)来缩放PDF以适合页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在反对这一点无济于事。

I've been bashing my head against this to no avail.

我需要收缩一些大型PDF以在8.5x11英寸(标准字母)页面上打印。 ImageMagick / Ghostscript可以处理这类事情,还是因为我使用了错误的工具来解决这个问题?

I need to shrink some large PDFs to print on an 8.5x11 inch (standard letter) page. Can ImageMagick/Ghostscript handle this sort of thing, or am I having so much trouble because I'm using the wrong tool for the job?

只是依靠'缩小'在客户端打印对话框中选择页面'选项不是一个选项,因为我们希望这对最终用户来说易于使用。

Just relying on the 'shrink to page' option in client-side print dialogs is not an option, as we'd like for this to be easy-to-use for the end users.

推荐答案

使用ImageMagick的问题在于您要转换为光栅图像格式,增加文件大小并降低页面上任何矢量元素的质量。

The problem with using ImageMagick is that you are converting to a raster image format, increasing file size and decreasing quality for any vector elements on your pages.

多价将保留PDF的矢量信息。
尝试:

Multivalent will retain the vector information of the PDF. Try:

java -cp Multivalent.jar tool.pdf.Impose -dim 1x1 -paper "8.5x11in" myFile.pdf

创建输出文件myFile-up.pdf

to create an output file myFile-up.pdf

这篇关于使用ImageMagick或Ghostscript(或其他东西)来缩放PDF以适合页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆