Skip to content

P6 Core 6.10.21

Release date: Tuesday, April 14, 2026

Documentation can be found here.

TL;DR

This release delivers a major overhaul of PDF compression in Platform 6. The p6.pdf.compress() function has been completely rewritten to fix several underlying issues that caused near-zero compression on merged documents. In a representative test, a 58-page, 3.2 MB document now compresses to 201 KB — a 93.8% reduction — on par with dedicated online tools like iLovePDF. Text quality is fully preserved as crisp vector content, with no rasterization or blurriness, and the implementation requires no external native tools.

PDF Processing

  • PDF compression completely overhauled for dramatic size reduction and sharp output. The p6.pdf.compress() function was rewritten from the ground up to fix four compounding issues that caused near-zero compression when working with merged documents: pages being rasterized to blurry JPEG images, per-page duplicate font embeddings inflating file size by over 1 MB, a hash bug that prevented deduplication of identical page elements, and PDFBox orphaned objects bloating the output. The new pure-Java pipeline replaces embedded fonts with standard PDF fonts, deduplicates shared page resources, recompresses images efficiently, and garbage-collects unused objects — reducing a 3.2 MB merged PDF to 201 KB (93.8% compression) in under one second. (STN-26467)