4 ms·
Probably the delta encoding step is occasionally useful. A lot of areas in the "document" are only going to use the 26 lowercase letters.
by joshuanapoli 3y ago
Probably the delta encoding step is occasionally useful. A lot of areas in the "document" are only going to use the 26 lowercase letters.
- edflsafoiewq 3y agoNope, every scanline uses filter type 0 (no filtering). Also the filesize decreases as you increase image width, presumably because you decrease the overhead of the filter bytes. I think the small size difference is just the difference in overhead of the framing formats (Zip encodes eg. local file headers and the central directory record) and compression options.
- lifthrasiir 3y agoMore concretely speaking, ZIP needs a base overhead of 22+ bytes, plus a per-file overhead of 76+ bytes plus twice the length of the file name. In comparison PNG needs only 64 bytes of overhead.