QOI test seems to not work on my machine. Replaced with magic number test from qoi_decode.
Added QOI write functionality.
I'd be open to condense our write methods to:
Image.Write(string path, ImageWriteFormat format = ImageWriteFormat.Png)
Image.Write(Stream stream, ImageWriteFormat format = ImageWriteFormat.Png)
Also not sure about casing when it comes to Png/PNG, Qoi/QOI. Went with only first letter capitalized to stay consistent with existing C# methods, but open to changes here.
QOI test seems to not work on my machine. Replaced with magic number test from
qoi_decode
.Added QOI write functionality.
I'd be open to condense our write methods to:
Image.Write(string path, ImageWriteFormat format = ImageWriteFormat.Png)
Image.Write(Stream stream, ImageWriteFormat format = ImageWriteFormat.Png)
Also not sure about casing when it comes to Png/PNG, Qoi/QOI. Went with only first letter capitalized to stay consistent with existing C# methods, but open to changes here.