PDF The PDF file format is ubiquitous for good reason, mostly because it allows for perfect preservation of a documents formatting, text, and other elements, but also because it allows for encrypted password protection of documents. But let’s face it, sometimes PDF files can be bloated, and something that should be 200k or less can be 1.2MB for no obvious reason, particularly if they have been generated at the OS level from something like printing to a PDF, another file that has been converted to a PDF, or created with an app that just doesn’t offer any compression at all.

For PDF files that have not been optimized yet, the Preview app in OS X can often reduce the file size considerably by passing it through an export filter. While it works great for text heavy files, it’s not a perfect solution for every document out there, so you’ll want to run through the process with the document in question and compare it to the original to see if it helps. Let’s get to it:

  1. Open the PDF file that you want to reduce the size for in Preview app (typically the default PDF viewer in OS X)
  2. Pull down the “File” menu and choose “Export”
  3. Export a PDF to compress the file size in Preview app for Mac OS X

  4. Select the submenu next to “Quartz Filter” and choose “Reduce File Size”
  5. Save the new reduced version of the PDF as usual by hitting “Save”
  6. Reduce File Size filter in Preview app for PDF files

(Note: you can also access Quartz Filters through “Save As” with new versions of Preview for OS X, but the File > Export trick works for prior versions of the app as well)

Just how much space you will save by using this file reduction filter varies greatly, depending on the content of the PDF, the original app that created and saved the PDF and if any filtering was applied to begin with, amongst a variety of other factors. For originating documents that are entirely text, like a resume or a Word document that’s been converted to a PDF without any sort of optimization, it can make a huge difference, and you may see a file sized from 1MB shrinking down to under 100k.

Keep in mind that Quartz Filters are basically image processing filters, but unlike apps made for lossless image compression, the PDF file will be processed in such a way which may result in lossy compression and artifacts appearing on embedded imagery. That’s not always desirable, which makes this trick best for PDF files that are heavy on text, simple graphs, charts, spreadsheets, or basic vector drawings, and not complete images or photos where high image quality is desired. Again, this is a benefit to using the “Export” command, since you can compare the two documents easily when it’s finished, which is recommended.

Counterintuitively and in some less common situations, beginning with an already optimized and compressed PDF file may result in a larger file being generated using this reduction filter. This really depends on the application that created the PDF to begin with and if the file was compressed at all, but for situations where a PDF is generated through something like Adobe Acrobat Pro you may find it to be the case.

« »