我通常扫描多页文件,而且我使用的是一种简单的方法。
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
我尝试在所有步骤上使用密度设置,但没有任何帮助。有谁知道错误在哪里?