- applyLoadFlags_QOI10b
PixelType applyLoadFlags_QOI10b(PixelType type, LoadFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyLoadFlags_QOI2AVG
PixelType applyLoadFlags_QOI2AVG(PixelType type, LoadFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyLoadFlags_QOIPlane
PixelType applyLoadFlags_QOIPlane(PixelType type, LoadFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- detectQOIX
bool detectQOIX(IOStream* io, IOHandle handle)
Undocumented in source. Be warned that the author may not have intended to support it.
- identifyTypeFromStream
bool identifyTypeFromStream(int channels, int bitdepth, PixelType type)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadQOIX
void loadQOIX(Image image, IOStream* io, IOHandle handle, int page, int flags, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
- makeQOIXPlugin
ImageFormatPlugin makeQOIXPlugin()
Undocumented in source. Be warned that the author may not have intended to support it.
- qoix_lz4_decode
ubyte* qoix_lz4_decode(const(ubyte)* data, int size, qoi_desc* desc, int flags, PixelType decodedType)
Decodes a QOIX + LZ4
File format:
QOIX header (15 bytes)
Original data size (4 bytes)
LZ4 encoded opcodes
Warning: qoi_desc.channels is the encoded channel count.
requestedType may or may not be followed as a wish.
The actual type, after flags applied, is in decodedType.
- qoix_lz4_encode
ubyte* qoix_lz4_encode(const(ubyte)* data, const(qoi_desc)* desc, int* out_len)
Encode in QOIX + LZ4. Result should be freed with free().
File format of final QOIX:
QOIX header (QOIX_HEADER_SIZE bytes with compression = QOIX_COMPRESSION_LZ4)
Original data size (4 bytes)
LZ4 encoded opcodes
Note: desc.compression is ignored. This function chooses the compression.
- saveQOIX
bool saveQOIX(const(Image) image, IOStream* io, IOHandle handle, int page, int flags, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
QOIX support. This is "living standard" format living in Gamut that tries to improve upon QOI.