1ca0394d4a1de6d77930e9ef95b6877400b1c713
The run length can simply be extracted and stored as part of the iterator state. For each iteration, check if the length is > 0, and emit more pixels until it isn't. Then continue the normal decode process.
Description
QOI codec library made in Rust
70 KiB
Languages
Rust
100%