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.
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.
QOIX support. This is "living standard" format living in Gamut that tries to improve upon QOI.