I scan all my important incoming physical-mail to PDF. I am trying to move this activity to Linux as part of the process of eliminating my dependence on Windows - where I used to use the excellent but deeply proprietary NitroPDF to do the scanning and conversion.
So I have moved to using
gscanpdf v 1.2.3 under Ubuntu 14.04 x_86_64 with a Canon LiDE scanner. If I scan an image in as 300DPI line-art it gives me a sensible file-size per page (about 150 kB) but for some reason although I have the page-geometry set to A4 in
gscan2pdf the image always comes out as A0 (i.e. massive) which confuses a lot of readers and also makes printing of stuff awkward. So to illustrate I scanned a single page of A4:
tim@MERLIN:~/Documents/Scanned$ pdfinfo sample.pdf Title: LabourLeaflet Subject: NONE Keywords: NONE Author: 001-MCC Creator: gscan2pdf v1.2.3 Producer: PDF::API2 CreationDate: Mon Aug 18 00:00:00 2014 ModDate: Mon Aug 18 00:00:00 2014 Tagged: no Form: none Pages: 1 Encrypted: no Page size: 2380.8 x 3366.7 pts Page rot: 0 File size: 117573 bytes Optimized: no PDF version: 1.4
which as you can see gives page geometry of A0. Now I can convert the page geometry using ImageMagick's
convert command thus:
tim@MERLIN:~/Documents/Scanned$ convert sample.pdf -page A4 -compress zip sample1.pdf tim@MERLIN:~/Documents/Scanned$ pdfinfo sample1.pdf Title: sample1 Producer: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org CreationDate: Tue Aug 19 10:04:36 2014 ModDate: Tue Aug 19 10:04:36 2014 Tagged: no Form: none Pages: 1 Encrypted: no Page size: 595 x 842 pts (A4) Page rot: 0 File size: 689083 bytes Optimized: no PDF version: 1.4
which as you can see gets the geometry right but causes the file to bloat to six times its original size.
- Is there any way I can get
gscan2pdfto respect the A4 page geometry I've set (ideal); or
- Can I get ImageMagick to change the page size without bloat; or
- Is there some other package I should be thinking about other than