I'm using the package pdfpages to join many PDF documents. Some of them are scanned. Is there an option to reduce quality of those documents in order to make the resulting file size smaller?
Asked
Active
Viewed 1,785 times
1
Martin Schröder
- 15,156
1 Answers
3
No, not in pdfpages and not natively within pdfLaTeX. pdfLaTeX can only treat the image data as an object that it extracts from one file and embeds in another.
You could do the conversion from within your LaTeX document by issuing an external command (e.g. ghostscript, depending on your operating system and installed software) to first create a low-resolution pdf that is then included with pdfpages, but this would add a fair bit of overhead to each run of pdflatex.
You're possibly better off producing a low-resolution version of the scanned pdf to include. Use your favourite method: a ghostscript incantation, adobe acrobat, an online converter (which probably uses ghostscript), or your scanner settings.
Andrew Kepert
- 3,020
pdfwritedevice: http://ghostscript.com/doc/current/Ps2pdf.htm – Andrew Kepert Jan 23 '16 at 23:23