TIFFs als FullScreen A4 in ein PDF
Florian Lohoff
flo at rfc822.org
Wed Apr 15 22:26:37 CEST 2009
On Wed, Apr 15, 2009 at 01:43:19PM +0200, Jan-Benedict Glaw wrote:
> Beim Stichwort "OCR"...
>
> Seiten als TIFF zu scannen (bzw. dahin aufzubereiten) und diese TIFFs
> exakt in ein PDF zu packen ist ja nicht sonderlich schwierig.
>
Doch - kommen wir zu meinem naechsten problem ;)
tiff2pnm erzeugt super pnms von einzelnen PDF seiten denen man
auch prima eine resolution mitgeben kann.
Problem ist jetzt das ich mit tiff2pdf keine PDFs hinbekomme die:
a) Behaupten A4 zu sein
b) In denen die TIFFs fullscreen sind
Ich bekomme pdfs hin die irgendwelche groessen haben und entsprechend
auch die tiffs fullscreen beinhalten. Ich bekomme auch pdfs hin die A4
sind und auf denen das TIFF klein in der mitte des Papiers/Seite
abgebildet ist. Das was aus dem Lexmark multifunktionsgeraet kam
war in ordnung - selber kriege ich solche PDFs nicht hin ...
flo at lifebook:~/Desktop/i$ tiffinfo scan-* | grep Width
Image Width: 1275 Image Length: 1754
Image Width: 1275 Image Length: 1754
flo at lifebook:~/Desktop/i$ tiffcp scan-* all.tiff
flo at lifebook:~/Desktop/i$ tiff2pdf -pA4 all.tiff -o all.pdf
flo at lifebook:~/Desktop/i$ pdfinfo all.pdf
Title: /tmp/qt86Cd8wwA/scan-2.unpaper
Subject: converted PNM file
Producer: libtiff / tiff2pdf - 20060323
CreationDate: Wed Apr 15 22:22:32 2009
ModDate: Wed Apr 15 22:22:32 2009
Tagged: no
Pages: 2
Encrypted: no
Page size: 595 x 842 pts (A4)
File size: 4474498 bytes
Optimized: no
PDF version: 1.1
In diesem dingen sind die images mittig auf dem papier aber halt nicht
seitenfuellend. Auch "-f" fuer "Fit Window" hilft nicht.
Alternativ:
flo at lifebook:~/Desktop/i$ tiff2pdf all.tiff -o all.pdf
flo at lifebook:~/Desktop/i$ pdfinfo all.pdf
Title: /tmp/qt86Cd8wwA/scan-2.unpaper
Subject: converted PNM file
Producer: libtiff / tiff2pdf - 20060323
CreationDate: Wed Apr 15 22:24:37 2009
ModDate: Wed Apr 15 22:24:37 2009
Tagged: no
Pages: 2
Encrypted: no
Page size: 306 x 420.96 pts
File size: 4474490 bytes
Optimized: no
PDF version: 1.1
Ist das dingen dann fullscreen aber eben nicht A4 ...
Flo
--
Florian Lohoff flo at rfc822.org +49-171-2280134
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20090415/67e8c92d/attachment.sig>
More information about the Linux
mailing list