ImageMagick或GhostScript:将多页TIFF转换为多页PDF [英] ImageMagick or GhostScript: convert a multi-page TIFF to a multi-page PDF

查看:228
本文介绍了ImageMagick或GhostScript:将多页TIFF转换为多页PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将多页TIFF转换为多页PDF。我可以访问ImageMagick和GhostScript(在* nix环境中)。我该怎么做呢?谢谢。

I need to convert a multi-page TIFF to a multi-page PDF. I have access to ImageMagick and GhostScript (in *nix environment). How do I do this? Thanks.

更新:

事实证明我的测试文件错误了(它没有多页),这让我觉得我的命令错了。这似乎对我有用:转换input.tif output.pdf

It turns out that my test file was wrong (it didn't have multiple pages), which made me think my command was wrong. This seems to work for me: convert input.tif output.pdf

推荐答案

使用libtiff提供的工具集中名为tiff2ps的工具:

Use a tool called tiff2ps from the tool set provided by libtiff:

http://www.libtiff.org/tools.html

一旦你有ps格式的tiff,就可以调用ps2pdf转换为pdf,这是大多数Linux发行版中ghostscript包的一部分。

Once you have the tiff in ps format, you can call ps2pdf to convert to pdf, which is part of the ghostscript package in most linux distributions.

这篇关于ImageMagick或GhostScript:将多页TIFF转换为多页PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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