f4eef2f8635e1b6c301d1090d7d0a090ed44f7e2
The old `Decoder::new()` method would not pull the image header out of the iterator. This was fine for the design then, but I've just decided that I want to collect this info and store it in the Decoder struct. I've moved the old method down into the test module so that I can still use it to test the decoder parts alone. Same philosophy as the `new_with_previous_pixel()` and `new_with_backbuffer()` methods.
Description
QOI codec library made in Rust
Languages
Rust
100%