I am a beginner in LaTeX, tentatively using it for industrial documents. I am working on a laboratory report containing little text and a large number of pictures. I prefer to leave the pictures at their native quality level for archival purposes and because a number of them get magnified by the elegant routines found at this link: How to create magnified subfigures and corresponding boxes for portions of a large image
I typically get a PDF file directly using pdflatex
. The .pdf
file I am working on contains 9 pages and has a size of 9000 KiB.
Post-processing the .pdf
file with the routine below (launched from the same directory), and using the "prepress" option, I get a file size of about 6500 KiB, and 3500 KiB with the setting "printer".
I could not find any drop of quality with each of these two settings (there are two lower quality options available, "ebook", and "screen"), when printed on A3 paper with a 600 dpi laser printer, and I would like to get the "printer" quality natively (directly at the creation of the PDF files), in order to eliminate the post-processing operation. Is there a way to do this?
/usr/local/bin/gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
-PDFSETTINGS=/printer -sOUTPUTFILE=NameOfOutputFile.pdf
-f NameOfTargetFileToOptimize.pdf
pdflatex
with\pdfminorversion=5 \pdfcompresslevel=9 \pdfobjcompresslevel=3
(i.e. maximum compression with PDF v1.5). However, I had tried that with my answer to How to make the PDFs produced bypdflatex
smaller?, see the comments: The result basically was that this does by far not reach the compression one can achieve via thegs
route.