ef4b31dab6c05f3e8693bd36dfc640c36e7ab2a6
I was going to try to match over the op codes, but that isn't possible. Most of the decoders are done, too, but I'm quite sure that the delta operations will encounter a wrap around and then panic. The OP_RUN is a problem, as well. I think I'm going to cheat this problem by holding a counter. This way I can see if I'm in a run, and then emit another pixel copy until counter == 0.
Description
QOI codec library made in Rust
70 KiB
Languages
Rust
100%