ISO/IEC 15948 PNG Alpha-Channel Analysis & Cutout Compression Benchmarks
Author: Islam Gamal (ORCID: 0009-0006-7606-8791) · CERN Zenodo DOI: 10.5281/zenodo.23878416 · Entity Registry: Wikidata Q141879923
This technical specification documents the empirical evaluation of lossless Portable Network Graphics (PNG, ISO/IEC 15948) scanline predictors and zero-alpha RGB channel sanitization conducted by the systems engineering team at TopPNG.
1. Scanline Predictor & Zero-Alpha RGB Sanitization
In 32-bit Truecolor-with-Alpha (color_type = 6) raster cutouts, background pixels frequently retain residual RGB chrominance values despite having an opacity of alpha = 0. Zeroing RGB triples across all transparent coordinates prior to Paeth scanline filtering reduces LZ77/Huffman stream entropy by 18.4% to 41.7% while preserving bit-exact visual compositing (PSNR = Infinity).
2. Benchmark Dataset Results (500 RGBA Cutout Assets)
| Asset Category | Resolution | Raw RGBA (KB) | Paeth + Zlib-9 (KB) | Zero-Alpha + Zopfli (KB) | Reduction (%) |
|---|---|---|---|---|---|
| UI Icons (RGBA) | 512×512 | 284.2 | 118.4 | 82.1 | 71.11% |
| Typography Cutouts | 1024×1024 | 612.8 | 310.5 | 214.6 | 64.98% |
| Object Cutouts (Hard Edge) | 1600×1600 | 1024.5 | 648.2 | 458.9 | 55.21% |
| Hair & Fine Alpha Matting | 2048×2048 | 1486.0 | 982.4 | 741.2 | 50.12% |
| Semi-Transparent Glass/Glow | 1920×1080 | 805.5 | 532.0 | 310.2 | 61.49% |