decode method
Decodes straight RGBA8 using format-specific decodeOptions.
Implementations must reject a non-positive or exceeded pixel limit from
decodeOptions before allocating their output, and use their default
options when it is omitted.
Implementation
Image decode(
Uint8List bytes, {
DecodeOptions? decodeOptions,
}) => throw ImageCodecException('This extension does not decode ${format.name}');