Compress PDFs with Python

581
2
05-11-2022 05:32 PM
AlfredBaldenweck
MVP Regular Contributor

Hi all,

I'm looking for a way to compress exported layouts beyond the "export as image" option. That is, I want to compress them a la the "Optimize" tool in Adobe Acrobat.

I've done some googling and it appears there may be some packages floating around to let me do it, but I was wondering if there was anything in the standard set of packages installed with Pro that would allow me to do this.

Thanks!

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

Look at the python package manager within Pro and see if any of your googled packages are on the list.


... sort of retired...
0 Kudos
AlfredBaldenweck
MVP Regular Contributor

Hi Dan, I had actually checked there, as well as opening up .py files that looked promising (zip, anything with pdf in the name, etc.), prior to asking this here, but I just checked again to be sure.

My reason for asking is because I know frequently there's capability hidden in odd places that aren't readily apparent. 

With that in mind, are there any packages that might be hiding similar capability?

0 Kudos