Web lists-archives.com

Re: [OT] scanned files are large in size




On Wed 02 Jan 2019 at 22:50:10 (-0500), kamaraju kusumanchi wrote:
> On Wed, Jan 2, 2019 at 6:33 AM Jörg-Volker Peetz <jvpeetz@xxxxxx> wrote:
> >
> > With the pdf-files from my Canon scanner, I did shrink them with the help of
> > ghostscript:
> >
> > $ ps2pdf  old.pdf  new.pdf
> >
> 
> This does not help. The file sizes are more or less the same (if
> anything, they are slightly larger).

That's my usual experience too. However, I looked around for an old
PDF and found a magazine distributed by my old employer. I could halve
the file size as above. Looking at the original, there's a lot more
legible XML (like image metadata) though it's difficult to tell if
that accounts for the difference. I think it was produced on a Mac;
most of the images certainly were.

$ pdfinfo /tmp/original.pdf
Creator:        Adobe InDesign CS3 (5.0.2)
Producer:       Adobe PDF Library 8.0
CreationDate:   Thu May  1 05:47:22 2008 CDT
ModDate:        Thu May  1 06:21:43 2008 CDT
Tagged:         no
UserProperties: no
Suspects:       no
Form:           AcroForm
JavaScript:     no
Pages:          48
Encrypted:      no
Page size:      595.276 x 841.89 pts (A4)
Page rot:       0
File size:      7297299 bytes
Optimized:      no
PDF version:    1.6
$ pdfinfo /tmp/new.pdf
Creator:        Adobe InDesign CS3 (5.0.2)
Producer:       GPL Ghostscript 9.26
CreationDate:   Wed Jan  2 22:21:22 2019 CST
ModDate:        Wed Jan  2 22:21:22 2019 CST
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          48
Encrypted:      no
Page size:      595.276 x 841.89 pts (A4)
Page rot:       0
File size:      3769525 bytes
Optimized:      no
PDF version:    1.4
$ 

Cheers,
David.