Tag
Deflate X-Ray is a single-page web tool that decompresses DEFLATE streams (gzip, zlib, PNG, ZIP) in-browser and visualizes every byte's bit cost, back-references, and block structure. Built from scratch following RFC 1951, the 45 KB page runs entirely client-side with no network requests.
An investigation into zlib's deflate source where a stripped assertion and the authors' 38-line in-code mathematical proof are shown to be flawed, alongside the authors' machine-checked Lean 4 safety proofs for zlib and zlib-ng and why real exploit inputs still fail to crash compress_block.
This article provides a tutorial on file compression, explaining the basics of Huffman coding and DEFLATE algorithms, and includes an interactive playground for hands-on learning.
Klaus Post discusses the process of rebalancing deflate compression levels in the Go compression library to make speed/compression trade-offs more linear and intuitive.
Iwo Kadziela created a method to generate a credible ASCII world map using only 445 bytes of data by leveraging deflate compression and JavaScript's DecompressionStream API.
The article describes libdeflate's new level 13, a deliberately slow DEFLATE compression level that achieves marginally better compression (0.134% on Silesia) at the cost of being 56x slower than level 12, designed for scenarios where data is compressed once and decompressed many times.
This article explores using the gzip compression algorithm as a language model, demonstrating that compression algorithms can generate text by scoring candidate continuations based on compressed length, using beam search to produce output.
ZIP Shrinker is a browser tool that reduces ZIP file sizes by recompressing with libdeflate, removing metadata and directory entries, and works with formats like APK and EPUB.