QOI
The Quite OK Image Format for Fast, Lossless Compression
Constants
First 4 bytes in QOI file.
Last 8 bytes in QOI file.
Class methods
Decode a QOI file, writing pixels to raw IO in format found in image description.
Decode a QOI file, returning image description and array of pixels.
Encode a QOI file, reading pixels from an iterator.
Encode a QOI file, reading pixels from raw IO in format found in image description.
Check whether or not file in path is a probably valid QOI file by checking if it starts with QOI magic bytes.
Try reading pixels from the input, returning pixel iterator.
Try reading QOI image description from the input.
Try reading magic header from the input, starting decoding process.
Try reading padding, ending decoding process.
Try writing pixels to output, reading them from iterator.
Try writing description to output.
Try writing QOI magic bytes to output, starting encoding process.
Try writing padding, ending encoding process.