toQOI method
Encode to a QOI image, using the built-in encoder
Implementation
Uint8List toQOI() => encoder.encode(
data: _bytes,
width: width,
height: height,
channels: _channels == Channels.rgb ? 3 : 4,
colorspace: _colorspace,
);