joshcarr / Apple-Quartz-Filters

415 stars 72 forks source link

A handful of quartz filters for saving PDFs.

With all due respect to Jerome Colas:

https://discussions.apple.com/thread/1292868?start=0&tstart=0

https://public.me.com/jcolas

The following text is his:

It uses the poorly documented Quartz filtering ability for PDFs in Preview. There are a couple of articles I found here or elsewhere on the web, but they still don't make things simple.

You can manually edit those same settings (using Colorsync Utility) but can also benefit from my trial-and-error process and directly download from my iDisk. After download and decompressions, simply drag the downloaded "Filters" folder to /Library/PDF Services - And if you already have such a folder, simply copy the contents of the downloaded folder into it.

Feel free to use, download, copy, use the idea ... in any way you like.

Then, in order to create a compressed PDF with decent quality :

I included 8 settings which produce increasingly large files, with increasingly better quality. I find the 150 dpi / average JPEG compression to be quite suitable for most purposes. I have tried (before Leopard) PDF compression software like PDFshrink but was not satisifed with the results and interface.

These filters produce much better (better being in terms of consistency, file size and quality) than the filter Apple includes with Leopard (and maybe Tiger ?). The Apple "Reduce file size filter" scales images by 50%, with target dimensions between 128 and 512 pixels, which can give very unusable results.

The filters I use 2 two things:

Once installed, you can visualize, edit or copy them using Colorsync Utility (in the Applications/ Utilities folder)

As an example, using a 73 MB PDF from a 55 page Powerpoint presentation, the compressed files have the following sizes:

Note:

In Lion, the *.qfilter files should be copied to the following location: /Library/Filters

The filters will not show up in Preview if the files are copied to the user's folder ~/Library/Filters

Alternatively, in Mountain Lion, since there is no /Library/Filters folder by default, you can put them in /Library/PDF Services