10

I have several PDFs that are quite large (one is 80+ MB). Is there a free way to compress that PDF to a smaller size?

1
  • Is there a way to do it from a command line in Linux?
    – jva
    Commented Oct 4, 2010 at 12:08

6 Answers 6

3

There is also Free PDF Compressor. It gives you the option of using the Flate or RunLength compression algorithms as well as different compression levels.

alt text

3
  • 1
    it doesn't support PDF 1.6 or higher.
    – Molly7244
    Commented Dec 18, 2009 at 20:39
  • 1
    Being made a year after the freeware version of PDF compress, I think it's safe to say it will support newer PDFs than the freeware PDF compress at least. I've had no problems with it.
    – user1931
    Commented Dec 18, 2009 at 21:08
  • For a PDF from a scanned image, I only got 1.5% compression
    – user419144
    Commented May 1, 2019 at 12:30
5

I guess, the most voluminous parts in your document are the images. How much you could shrink the size then, depends if and how the images are currently compressed.

You can use ghostscript to compress all (especially bitmap) images in your PDF. If you will tolerate a lossy compression, you can simply use the following command (AFAIK JPEG is the default compression):

ps2pdf input.pdf compressed.pdf

And yes, ps2pdf can (despite of its name) also read in PDF files. Of course, there are tons of options for ghostscript, so for details please refer to the documentation.

Here is a comparison between different methods for an example document. (The result will vary very much depending on the contents of the input document, so always recheck the different methods for your situation.)

input.pdf             24 707 180 bytes
output_flate.pdf      23 293 759 bytes   # lossless via Free PDF Compressor 1.12
output_runlength.pdf  23 293 759 bytes   # lossless via Free PDF Compressor 1.12
output_jpeg.pdf       12 503 901 bytes   # lossy via ghostscript

You see, the lossless compression does not gain much im my case, as all images are already flate compressed in input.pdf.

4

Have you tried compressing your file with the "smallpdf" online pdf compressor? My record is to get 92% compression. :)

3
  • Really great tool. Should be getting more traffic. Commented Dec 2, 2014 at 3:02
  • Great. 1. I can download to SmallPDF service my 354.59 Mb PDF document. / 2. 354.59 → 48.38. / 3. Uncompressedcompressed. No difference. / 4. I can do it free. / 5. And quick. Thanks. Commented Dec 6, 2018 at 10:17
  • this is no longer free
    – Pere
    Commented Apr 25, 2020 at 8:23
1

Reduce the actual size of PDF files by compressing text and graphics with PDF Compress.

alt text

Version 1 is freeware, Version 2 is shareware.

1

PDF's can get compressed. Specially if they have a lot of images.

I usually compress my PDFs with this online tool. Its very simple. But with a 80mb file you might not want to upload it and use a local tool.

0

Yes, you can try PrimoPDF, many people use it, it's really good.

Check it out on www.primopdf.com

You have to print a document (to a "Primo PDF" printer) in order to see the results in Pdf!

0

Not the answer you're looking for? Browse other questions tagged .