Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Hyper Compress Achieves Low Corruption Rate in PDF Compression Benchmark

Hyper Compress, a high fidelity PDF compression engine, achieved a 0.39% corruption rate and up to 64.8% size reduction while maintaining high visual quality in benchmark tests against other engines.

Share
AI-generated conceptual illustration accompanying: Hyper Compress Achieves Low Corruption Rate in PDF Compression Benchmark
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Compression Capabilities and Performance

Hyper Compress is a high fidelity, content preserving PDF compression engine built to make PDFs smaller without unnecessarily changing the document. It includes a true lossless mode for compression without image re encoding or quality loss. Across the benchmark, Hyper had a 0.39% corruption rate, the lowest of any engine measured. Hyper Compress was benchmarked against Ghostscript, MuPDF, and qpdf using 2,104 real world PDFs from four public corpora, for a total of 27,352 engine runs. Median size reduction at the median worst page SSIM varied by compression tier, with Hyper achieving up to 64.8% reduction at 72 dpi while maintaining a SSIM of 0.996. Robustness across the same benchmark showed that Hyper had 33 (0.39%) corrupt files out of 8,416 runs, with no instances of file growth. The corpus selection was pre registered using a fixed seed before any files were fetched.

Implementation and Integration Options

The Hyper Compress engine is implemented across multiple platforms, including a CLI, Node SDK, C API, self-hosted service, and WebAssembly build Hacker News Show. For the self-hosted service, deployment is straightforward using Docker: docker run -d -p 8080:8080 ghcr.io/alam00000/bentopdf-hyper-compress:latest Hacker News Show. Developers can also build the engine manually by following instructions in BUILDING.md. The CLI provides a range of compression options, such as hyper input.pdf output.pdf --preset high for minimal output size or --target-size 2MB to specify a desired output size Hacker News Show. The Node SDK allows integration with JavaScript applications, returning detailed results like original and compressed file sizes Hacker News Show. For web-based use, the WebAssembly build is available on npm as hyper-compress-wasm, enabling buffer-based compression in environments where the native package is not supported Hacker News Show.

Customization and Technical Requirements

Hyper Compress offers a high degree of customization, allowing users to balance file size and visual quality based on the target's reachability. If the target is reachable, the engine produces the best-looking file that fits; if not, it generates the smallest possible file while issuing a warning about the reduction in size. For developers, the sdk/native module exposes a minimal C ABI with functions such as hpdf_compress_file, hpdf_compress_buffer, and hpdf_last_error. The shared library exports only these symbols, ensuring an additive ABI within a major version. The JavaScript components require Node 22 and use npm ci and make check for setup, building against a pinned PDFium checkout. For proprietary or closed-source use, commercial licenses are available annually at $99/year under the Hyper Compress Commercial License.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more