Which is a good PDF file compressor?

Hello,

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?
LuiLui77Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joe Winograd, Fellow&MVEDeveloperCommented:
0
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?
0
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.

HTH,
Dan
0
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

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

For a command line tool, this Google Code project is worth a spin:
https://code.google.com/p/pdfsizeopt/

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
0
LuiLui77Author Commented:
Thanks Joe!, it seems to be the answer, let me give it a try
0
Joe Winograd, Fellow&MVEDeveloperCommented:
Btw, these are the install instructions that worked for me on Windows (W7 Pro 64-bit):
https://code.google.com/p/pdfsizeopt/wiki/InstallationInstructionWindows

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:
http://sourceforge.net/projects/multivalent/files/

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
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LuiLui77Author Commented:
Thanks Joe!
0
Joe Winograd, Fellow&MVEDeveloperCommented:
You're welcome. Happy to help. Regards, Joe
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Acrobat

From novice to tech pro — start learning today.