Commit graph

6 commits

Author SHA1 Message Date
Ivan Smirnov
7446a0f171 Add Header::validate(), don't check in qoi_dec_hdr 2021-12-01 17:07:21 +00:00
Ivan Smirnov
8f0a78a8c9 Add Header::n_pixels() 2021-12-01 16:04:04 +00:00
Ivan Smirnov
62a659eb03 Change magic type to u32 (like in reference impl) 2021-11-29 22:38:09 +00:00
Ivan Smirnov
236f55ed3c Change Header::default() impl so it's a valid one 2021-11-29 22:30:53 +00:00
Ivan Smirnov
7d0b0a5b62 Change colorspace in Header to ColorSpace type 2021-11-29 22:30:29 +00:00
Ivan Smirnov
f8ec8011fc Initial working version (but lots of temp stuff) 2021-11-28 16:20:24 +00:00