You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Reduce PDF file size : free Acrobat replacement for Leopard

*Well, at least this fits my need*, which to be able to email PDFs of my iWork or Office presentations with both :
*+ acceptable quality*
*+ acceptable file size*



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 your Library folder* (inside your user folder to install it just for this user, or at the root level of your hard disk in order to install it for all users) - And if you already have such a folder, simply copy the contents of the downloaded folder into it.

*Here are the filters :*
* http://idisk.mac.com/jcolas-Public*

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 :*
+ Open your existing PDF in preview, or Print any document using "Open PDF in Preview" from the PDF pop-up menu in the Print dialog
+ Choose Save As in the File Menu (pretty easy I guess), then choose PDF as format, and one of the "Reduce to XXX dpi ..." Quartz filters, and click Save.

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 :
+ resample images to 75, 150, 300 or 600 dpi (I do not not if there is upsampling)
+ compress the images using Jpeg compression at average or low quality
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 :
+ 75 dpi low quality : 2.7 MB
+ 75 dpi average quality : 3.2 MB
+ 150 dpi low quality : 4.2 MB
+ 150 dpi average quality : 5.3 MB
+ 300 dpi low quality : 7.6 MB
+ 300 dpi average quality : 10.2 MB
+ 600 dpi low quality : 16.0 MB
+ 600 dpi average quality : 20.3 MB

Voilà.
I don't think I'll be using Adobe Acrobat anytime soon.

"Thanks" a lot to Adobe for not being able to have a working version of Acrobat on Leopard until next January.
I hope many people (with needs similar to mine) will discover that they don't realy need it.

And I just wonder why Apple does not include these filters in Leopard.
Is this just in order to be nice with Adobe ?

Feedback or comments greatly appreciated.

Jérôme.

MBP 17" 2.4Ghz/4GB, Mac OS X (10.5), and other Macs too

Posted on Dec 15, 2007 3:44 AM

Reply
226 replies

Jan 29, 2013 6:33 PM in response to jerome1989

Hi, I am in desperate need of the capability of converting a scanned file to a smaller PDF. Limited on time. I tried going to your orginal post and select the link and keep getting a HTTP error. I am also new to using an apple computer, can you please help ASAP, in obtaining the information to convert a file. Here is the error message I get every time I select the original post link. "Http/1.1 Service Unavailable ".

Feb 16, 2013 3:46 AM in response to yiannis.

Hi Yannis.

I am not sure if this is related to OS X 10.8 and I have no way to check, since all my Macs are running 10.8.2.


I remember the filters being increaisng the size for some converidsions (as reported by some in thi discusiion) but never had any particular problem sinc OS X Mountain Lion.


However, yesterday (after seing your post :-) I exported a 1.8 MB file (that was the concatenation of a scanned page and 5 other pages from an already file-size-reduced PDF) using the "standard compression" and had a 8.2 MB as a result.

Even stranger, exporting the 8.2 MB file using the same standard settings resulted in a 2.7 MB file !

And those results were consistent after reboot and several retries.


But everything still works fine with a nice file size reduction for other files.


I guess this is an OS X bug : the filters themselves are very simple Colorsync filters (you should be able to see them in Colorsync Utility) which apply 3 Apple-provided filters for image sampling (1 filter for color ; 1 filter for B&W) and 1 filter for jpeg compression.


However I am not an expert and have not found an easy way to analyze the PDF files and check for image resolution or jpeg compression.

(I am an Adobe CS6 subscriber but did not find anything useful for that in Acrobat Pro)


So if anyone knew of a tool to check for the properties of objects in a PDF, preferably working on Macs, that would be great!.

Feb 18, 2013 2:29 PM in response to yiannis.

Hi Yiannis.


There are actually (very well hidden) PDF analyzing features in Acrobat Pro.


So I now have a solution for larger than the original result files, that you have reported (and other users of these filters have reported too) later in that post.


But first the cause for these two large files: for some (unknown by me) reason, the images within the target files are not JPEG-compressed.

It looks like a bug to me, so I am going to file a bug report with Apple right away.


And here is the solution: re-export the target file with a filter only enabling JPEG-compression for images within the PDF.

Here is this filter: Click here to download.

It is the same as the standard compression filter "Reduce to 150 dpi average quality - STANDARD COMPRESSION" but without the dpi settings and seems to work well for me.

Just put it next to the other filters in "Macintosh HD/Library/PDF Services" if your startup disk is called "Macintosh HD" and choose it in preview when re-exporting to PDF the too large files produced by the previous pass.


Yiannis, does this work for you?

Feb 18, 2013 2:48 PM in response to jerome1989

Hmmm. I tried your "JPEG compression - STANDARD.qfilter" filter, and it turned a 762K journal article pdf file (mostly text, but with a few B&W figures), into a 4.7Mb file. No joy. The built-in 150dpi STANDARD COMPRESSION filter turns it into a 913K file.


If you run that standard filter on the output of the new filter, you end up with 1MB.


What no one seems to have ever tried to explain is WHY these filters sometimes result in larger files. As a result, the success of any particular filter no doubt depends on what's in the file to begin with.

Feb 18, 2013 2:53 PM in response to Dannymac22

Hi Dannymac22.


Those filters only care for images. They have no interest for PDFs which are mostly text; And in the case of an optimized PDF they will not help.


But they will help for (most of) the non compressed PDFs produced by OS X's printing or scanning.


As to the WHY, I cared a lot about it and if you re-read my last post, it is because JPEG compression is not applied although it should.

Feb 18, 2013 2:58 PM in response to jerome1989

Thanks. But this file I compressed DID have some images. In fact, although this filter might have no interest in a pdf with mostly text, it was interested enough in mine to bump the size up by a factor of six. You'd think that if there were nothing compressable, it would just leave the size the same.


If the jpeg compression is not applied when it should be, how do you turn a mostly text pdf into something a factor of 6 bigger?


Sorry, but that WHY didn't quite fit the bill.

Feb 18, 2013 3:21 PM in response to Dannymac22

Hi Dannymac22.


If you're interested in knowing why (small caps are nicer :-) a PDF export from Preview can produce a bigger file than the orginal, you are probably not at the right place.


However, to give you a flew clues, you can certainly easily understand that OS X's handling of PDF hasnot been optimized for file size optimization only (for example, speed is of the essence). And it seems that PDF export by Preview are not "pass through" exports, especially when you apply filters. During the export, Preview undoes previous optimizations and applies its own, possibly not as efficient from a file size standpoint.


This discussion as about an easy way to reduce the size of user created PDFs (through printing or scanning especially) without needing expensive or unintuitive tools like Acrobat Pro, which was not even available on Leopard when this discussion started.


And the "why" we wanted to understand is why these filters failed miserably in some cases although they work well most of the times.


Luckily, I think we have an answer, and, better yet, a solution :-)


Hope I could help a bit

Feb 18, 2013 3:38 PM in response to jerome1989

OK, well, let me understand. You posted a filter that I assumed was intended to be used with Preview to reduce a pdf file size. On the first pdf file I tried it on, it did exactly the opposite. I didn't create that file, and it was likely created with Acrobat Pro.


Now, if you're saying that it works only in user-created pdf files. OK, so I tried it out on a document I scanned last night. Half of that document is a form with text, and the other half a gray scale picture. The original document (from VueScan) was 61K. After running it through your filter, I get 348K. Again, no joy (and again, perhaps coincidentally, a factor of six!)


So maybe I'm just not understanding exactly what files this filter is supposed to work on?


If the discussion was about an easy way to reduce the size of user-created pdfs, this didn't work for me.


I appreciate the suggestion, and I'm glad it worked for you, but it's evidently not an answer for everyone.

Reduce PDF file size : free Acrobat replacement for Leopard

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.