HOWTO lossy compress PDF files in Linux
Submitted by develCuy on Fri, 2012-05-18 12:41
Image Magick is an awesome tool that also does a great work compressing PDF files.
Just run the following command:
$ convert -compress jpeg -density 150 file.pdf file-compressed.pdf
Notice that -compress is the compression type, and -density is the image quality. Also, JPEG compression is lossy, and reduction of DPI usually is lossy. But I managed to have good compression quality with these settings.
There are more details in the Image Magick manual.
Blessings!

develCuy's blog by Fernando Paredes Garcia is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Peru License.





I think the title is not
I think the title is not correct: Jpeg compression is lossy. Also, the reduction of DPI usually is lossy.
Thanks for your feedback,
Thanks for your feedback, blog post updated!
Post new comment