Encodes as QOI with 3 channels, or 4 when the image has alpha. Gray is written as colour.
encode_qoi :: (image: Image) -> [] u8
Encodes as QOI with 3 channels, or 4 when the image has alpha. Gray is written as colour.
Parameters
- image: Image
Returns
- [] u8