How to Invoke File -> Reduce File Size programmatically in java - Adobe Acrobat
This is a discussion on How to Invoke File -> Reduce File Size programmatically in java - Adobe Acrobat ; My java code retrieves PDF files from database. They are typically 800 KB. I opened it in Adobe Professional and used File -> Reduce File Size. It downsized to 23 KB. There are millions of files.
Question. How can I ...
-
How to Invoke File -> Reduce File Size programmatically in java
My java code retrieves PDF files from database. They are typically 800 KB. I opened it in Adobe Professional and used File -> Reduce File Size. It downsized to 23 KB. There are millions of files.
Question. How can I call File -> Reduce File Size in Java code, if it is ever possible? If not possible, can I invoke that command in batched mode, even may not be in Java?
Thanks for help.
-
Re: How to Invoke File -> Reduce File Sizeprogrammatically in java
There is no API to this, but Batch Processing can be used with PDF
Optimizer option.
However, batch processing is not what you need. Acrobat is not what
you need. As an interactive tool, you can expect it to keel over after
maybe a hundred or a thousand files.
For millions you need to seek a specialist standalone tool. Adobe
don't offer such a thing.
Aandi Inston
-
Re: How to Invoke File -> Reduce File Sizeprogrammatically in java
Thank you for the reply.
Is there a way in iText such that let the the PDF file go through iText by simple reader/writer method and compress it? I tried to setFullCompress, it just went from 831 KB to 824 KB.
Am I doing it right? Thanks a lot.
Similar Threads
-
By Application Development in forum Adobe illustrator
Replies: 0
Last Post: 08-30-2007, 05:19 AM
-
By Application Development in forum Adobe illustrator
Replies: 3
Last Post: 06-07-2007, 03:00 AM
-
By Application Development in forum Adobe Acrobat
Replies: 6
Last Post: 01-21-2007, 12:18 AM
-
By Application Development in forum Graphics
Replies: 1
Last Post: 09-25-2006, 12:35 PM
-
By Application Development in forum Adobe Photoshop
Replies: 0
Last Post: 06-04-2005, 11:48 AM