There is a utility available online called Ghostscript. I've seen some articles that state it can be used to compress a PDF, but this seems to be hit-or-miss depending on the content of the PDF. You can find Ghostscript
here. It is open source and there is a Windows version.
Then you can take a look at
this page on GitHub for an example of the command line parameters you'd need to pass into it.
NOTE: I have
NOT tested this myself. Tread cautiously.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------