python 2.7 - Anyway to optimize pdf programmatically? -


I would like to programmatically optimize (like "save at least PDF to 10" in Acrobat Pro 10) PDF A series of files I like to do this with Python 2.7.5, if possible, not with Python, maybe VBA word, and my last priority is to do it with another programming mechanism.

Thoughts?

One suggestion will be to look at pdfsizeopt .

The Python program is meant to work as a PDF file size adapter, it can be used to convert large PDFs into small and support commandline interfaces, which you can call.

Description:

pdfsizeopt is a program for converting large PDF files to small ones. More specifically, pdfsizeopt is a free, cross-platform command line application (Linux, Mac OS X, Windows and Unix) and is a collection of best practices for optimizing the size of PDF files, including Tex and Latex Documents Pdfsizeopt is written in python, so it is a bit slow, but it offloads some of the heavier tasks to its fast (C, C ++ and Java) dependencies. Pdfsizeopt was developed on Linux systems, and it depends on existing tools such as Python 2.4, Ghostscript 8.50, jbig2enc (optional), sam2p, pngtopnm, pngout (optional), and multilateral PDF compressor (optional) written in Java .

Reference:



Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -