Code: Select all
convert -density 288 input.pdf output.pdf
My pdf of 5 megs becomes 130 megs. It's 6 pages, but they are full of color and images.
If I run this GS command on it, it shrinks it down to 930k.
Code: Select all
gs -dSAFER -dBATCH -dNOPAUSE -dNOCACHE -sDEVICE=pdfwrite \
-sColorConversionStrategy=/LeaveColorUnchanged \
-dAutoFilterColorImages=true \
-dAutoFilterGrayImages=true \
-dDownsampleMonoImages=true \
-dDownsampleGrayImages=true \
-dDownsampleColorImages=true \
-sOutputFile=document_flat.pdf document_original.pdf
Can I achieve this with the single convert command above?