69fad49286a6363d3f0193234d0a7b409f6a5968
The previous pixel needs to be captured before the iterator is advanced. Otherwise it's just getting the same pixel back out, and all that's tested is the assignment operator. The expected alpha value for the first OP_RGBA was set wrong. The OP_LUMA was missing whole bits. SMH my head. After changing the prev-pixel check order, the final OP_RGBA *is* required. Include that in the expected output.
Description
QOI codec library made in Rust
70 KiB
Languages
Rust
100%