|
|
Use a free third-party Java tool to truly compress PDFs
Depends on the needs. As I stated the compression in this case is adjusted for general purposes. That means it removes all embedded fonts, image previews and compresses the images in JPEG. So it removes all the "junk" included by MacOS when a PDF is created from the Print menu. The resulting file now is lightweight yet with sufficient quality to be printed in general. If you have used specific fonts in a fancy presentation, than the computer you are opening the file on might not have them and will replace with others that might change the experience overall. In the case of ColoSync compression filter you might get confused as to the grade of JPEG deterioration, thinking it looks ok, yet if you try to print it will look horrible.
Ability to choose output file name and more
OK. So, Sveto pointed out that it would be nice to be able to choose an output folder. So, I rewrote the code for this hint using AppleScript. When creating your workflow, instead of using the "Run Shell Script" command, use the "Run AppleScript" command instead. In the box for the AppleScript code, paste the following:
NOTE: There are PREFERENCES included in the code above. They allow you to specify the location of your Multivalent JAR file, assuming you want it in a sub-folder of your user folder. If that is wrong, you can remove the 'homePosix &' part and just specify the whole Posix path to the JAR file. You can also choose a default outputFolderPath for the compressed PDF - if you don't it defaults to using the Desktop. Also, the code above will ask you for a file name, you can set askFileName to false to just use the name Mac OS X comes up with.
I hope this is useful. I look forward to using it, since it seems to save quite a bit of space in PDFs. Thank you to Sveto for getting us the info about Multivalent!
---
http://www.danshockley.com
Ability to choose output file name and more
Thank you very much Krioni. That is exactly what I was requesting. I have only 1 question. I was unable to understand where the temporary uncompressed file was located and if it was deleted after the compression. Did I miss something?
Ability to choose output file name and more
Mac OS X creates the temp file itself in a temp directory that gets cleaned out automatically after a while. When you choose "Preview" from the print dialog, it's the temp file that is opened by Preview.app. Interestingly enough, Apple made the usual command-click-on-window-title-to-see-file-path trick NOT work when you do this in Preview.app. However, if you toss an alias to Skim (or some other PDF reader) in your PDF Services folder, and send the PDF there instead of Preview.app, you'll be able to command-click the window titlebar to see where it creates the temp file. ---
http://www.danshockley.com |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|