Encodes input to raster bytes, with the given options or default options.
input
Uint8List encodeWithOptions(Image input, Options encodeOptions);