Can UniPDF compress and optimise PDF documents?

UniPDF has many mechanisms for reducing the size of PDF documents.  Some of the mechanisms are lossless, and can reduce file size without sacrificing any quality, whereas lossy algorithms can lead to much smaller size at the size of quality but may be appropriate for various things like email and on-screen viewing of PDFs.

Check out our examples and see how we can optimize a PDF by using the library. First of all, go to the unipdf-examples GitHub repository and download the compression example code.

To get more of the background for this you could read our in-depth blog post here.