Which is a good PDF file compressor?


I am looking for a good PDF files compress tool that will give me a good rate of compression and also capabilities to automate the compression operation via code.

Does anyone knows about one?
Who is Participating?
Joe Winograd, Fellow&MVEDeveloperCommented:
Btw, these are the install instructions that worked for me on Windows (W7 Pro 64-bit):

Initially, I did not have Multivalent.jar, so when I ran pdfsizeopt, I received this error message:

AssertionError: Multivalent.jar not found, see above

However, it still created the optimized output file. Then I downloaded Multivalent.jar from SourceForge:

I put it in the same folder as pdfsizeopt.exe, and it seems to have run, but I received this error message:

AssertionError: Multivalent failed (status)

But, again, it still created the optimized output file. Regards, Joe
Joe Winograd, Fellow&MVEDeveloperCommented:
LuiLui77Author Commented:
Awesome Joe Thanks! I was looking on these solutions but I have not found one that it has command line capabilities, do you know one with command line features?
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Dan CraciunIT ConsultantCommented:
For programatically changing a PDF you can try the iText library: http://itextpdf.com/

Note that this is not a command line utility, it's a library to be used and requires some programming knowledge.

Joe Winograd, Fellow&MVEDeveloperCommented:
In addition to iText that Dan mentioned, note that there's a .NET port of it, called iTextSharp:

For a command line tool, this Google Code project is worth a spin:

Haven't tried it myself (yet), so please let us know how it goes for you. Regards, Joe

Update: I've been experimenting with the command line pdfsizeopt since  posting it above — it works well. I tested it on several PDFs, all resulting in significant size reductions. Definitely worth a try. Regards, Joe
LuiLui77Author Commented:
Thanks Joe!, it seems to be the answer, let me give it a try
LuiLui77Author Commented:
Thanks Joe!
Joe Winograd, Fellow&MVEDeveloperCommented:
You're welcome. Happy to help. Regards, Joe
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.