2

我需要将多页 PDF 转换为 TIF,但它似乎是我们客户提供的格式错误的 PDF。我尝试使用 ImageMagick 和 GhostScript,但它们没有正确转换文件。结果只有大约 85-90% 的正确率。我发现唯一似乎可以完成这项工作的是 GIMP,但我找不到通过其 PDF 批处理方法使用它的示例。

以下是我从 ImageMagick 和 GhostScript 得到的警告:

 **** Warning: Tf refers to an unknown resource name: FORMS$.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: P06BOB.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN308E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: P06BOB.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN308E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: P06BOB.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN308E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN307A.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN104A.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN308E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN208E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN308E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN208E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: HE14BP.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN208E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN106E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN208E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN106E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN208E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: HE08BP.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: HE11BP.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: AR10NP.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN308E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: JIMP2.l Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: HS11C.l Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: FORMS$.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN104A.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN208E.f Assuming it's a font name.
 **** Warning: Tf refers to an unknown resource name: UN307E.f Assuming it's a font name.

 **** This file had errors that were repaired or ignored.
 **** Please notify the author of the software that produced this
 **** file that it does not conform to Adobe's published PDF
 **** specification.

我也愿意接受其他建议。谢谢!

编辑:我正在测试 GhostScript 8.7 和 ImageMagick 6.5.4.7-6

4

2 回答 2

2

不能在没有看到文件的情况下发表任何实质性评论。您是否考虑过简单地将文件发回并告诉他们制作正确的文件?

你也没有说你使用的是什么版本的 GS 和 ImadeMagick。

于 2012-12-14T17:02:00.923 回答
1

损坏的 PDF……我“喜欢”它们。实际上,一个奇怪但好主意是将pdf“打印”到另一个pdf或ps文件中。这有很大帮助。

于 2012-12-14T22:14:04.020 回答