On 02.07.2024 08:32, Ravindar Singh wrote:
Hi,

Can you anybody help to understand, does Apache PDFBox support pdf compression? 
If yes, then please guide me or provide me sample to compress the document.

Yes it does. However ideally most existing PDFs are already well compressed. PDFBox doesn't have a tool to optimize existing PDFs. You can try to load and save them to see if it gets better. 3.0 is better than 2.0 because 3.0 supports compressed object streams.

Tilman



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to