Charlie Gibbs <cgib…@kltpzyxm.invalid> wrote:
> I was given some scans of sheet music from an iPad vict^H^H^H^Huser who
> couldn't find the settings (if it has any) for its scanning function.
> As a result, she wound up with a 9-page PDF file that takes up over
> 30 megabytes. (When I scan a similar document on my machine the file
> is about one megabyte.) A bit of digging came up with utilities that
> tell me that her scan is in 24-bit colour at some ungodly resolution
> (using JPEG to keep it from being even bigger).
>
> I've been looking at utilities like Ghostscript, but the documentation
> is making my eyes glaze over. Is there a guide that can help me
> re-sample the file, say to 300 dpi in monochrome?
I'm not sure about that, but here's one thing I ended up using
recently to get smaller PDFs (possibly including some unnecessary
options):
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen \
-dNOPAUSE -dBATCH -sOutputFile=out.pdf in.pdf
It won't always make the file smaller, but did for me in some cases.
That does a reduction to 72 DPI, but I think you can replace "/screen"
with "/printer" to get 300.
-Rus.