how-to_‎ > ‎

Adjust resolution of images inside a PDF file

posted Jul 13, 2012, 3:35 AM by Daniele Albrizio
$ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dDEVICEXRESOLUTION=300 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

where -dDEVICEXRESOLUTION is final resolution in DPI.

Simple, isn't it?

Comments