Skip to content

Instantly share code, notes, and snippets.

@moorbrook
Created May 23, 2012 06:17
Show Gist options
  • Save moorbrook/2773518 to your computer and use it in GitHub Desktop.
Save moorbrook/2773518 to your computer and use it in GitHub Desktop.
Workaround to reduce PDF size for MagCloud
MagCloud upload limit: 300MB
Because of buggy Acrobat and/or PDF file, using just PDF Optimizer didn't quite work, here's the workaround:
1) Use ColorSync Utility to downsample images to 300 dpi using a custom Quartz filter. Using export in Preview did not show the extra Quartz filters. You have to use ColorSync Utility.
2) Flattening transparency is critical to reducing file size.
Use PDF Optimizer in Acrobat to do this.
However, if you use [High Resolution] some of the fonts get messed up -- The solution is to create a custom transparency flattener modeled after [High Resolution] setting but with the addition of "Convert all text to outlines."
3) The other cleanup routines in PDF Optimizer can be included, but shouldn't make that much difference either way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment