2

我通常扫描多页文件,而且我使用的是一种简单的方法。

for f in ???\.pbm; do 
   convert -compress Group4 $f ${f%pbm}tiff; 
done;

tiffcp *\.tiff o.tiff; 

tiff2pdf o.tiff -o o.pdf

但这样我可以获得好的 TIFF 和非常糟糕的 PDF。

以下是输出identify:(
每页类似)

Image: o.tiff
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 1248x1649+0+0
Resolution: 72x72
Print size: 17.3333x22.9028

Image: o.pdf
Format: PDF (Portable Document Format)
Class: DirectClass
Geometry: 17x23+0+0
Resolution: 72x72
Print size: 0.236111x0.319444

我尝试在所有步骤上使用密度设置,但没有任何帮助。有谁知道错误在哪里?

4

1 回答 1

2

tiff2pdf步骤中,尝试使用以下命令:

 tiff2pdf  -p A4  -F  -o o.pdf  o.tiff
  • -p A4:强制 PDF 使用 ISO A4 页面大小(您也可以使用letterlegal)。
  • -F:强制 TIFF 完全填满页面。
于 2012-08-20T20:55:19.487 回答