4 ms·
The developer who asked for the faster compression formats has later solved the problem himself: https://github.com/richgel999/fpng https://github.com/richgel9
by pornel 1y ago
The developer who asked for the faster compression formats has later solved the problem himself:
https://github.com/richgel999/fpng https://github.com/richgel999/fpng
It turns out that deflate can be much faster when implemented specifically for PNG data, instead general-purpose compression (while still remaining 100%-standard-compatible).
- hyperman1 1y agoNote he also expects a worse compression as tradeoff. I think he implements RLE in terms of zlib: [...]Deflate compressor which was optimized for simplicity over high ratios. The "parser" only supports RLE matches using a match distance of 3/4 bytes, [...]
- deleted 1y ago[deleted]
- spider-mario 1y agoIn a similar vein: https://github.com/veluca93/fpnge https://github.com/veluca93/fpnge https://x.com/LucaVersari3/status/1485971553892323333 https://x.com/LucaVersari3/status/1485971553892323333