QOI.fromRaw constructor
QOI.fromRaw({})
Constructor that does not do any automatic decoding
The input bytes must just be unformatted pixel data (eg. no headers).
Implementation
QOI.fromRaw({
required Uint8List bytes,
required this.width,
required this.height,
Channels channels = Channels.rgba,
int colorspace = 0,
}) : _bytes = bytes,
_channels = channels,
_colorspace = colorspace;