3 ms·
The end marker feels awkward: * It shouldn't be necessary, since having encoded all pixels already implies you're at the end. * It complicates the encoding/de
by CodesInChaos 5y ago
The end marker feels awkward:
* It shouldn't be necessary, since having encoded all pixels already implies you're at the end.
* It complicates the encoding/decoding of the indexing operation.
- edflsafoiewq 5y agoIt doesn't really complicate the encoder. Any real encoder would never emit 7 OP_INDEX to the same index, it would use a RLE instead.