plugins/image/src/formats/formats library

Functions

encodeBmp(Image image) Uint8List
Encode an Image to the BMP format.
encodeCur(Image image, {bool singleFrame = false}) Uint8List
Encode an Image to the CUR format.
encodeIco(Image image, {bool singleFrame = false}) Uint8List
Encode an image to the ICO format.
encodeJpg(Image image, {int quality = 100, required int backgroundColor, JpegChroma chroma = JpegChroma.yuv444, Completer<void>? destroy$}) Future<Uint8List>
Encode an image to the JPEG format.
encodePng(Image image, {bool singleFrame = false, int level = 6, PngFilter filter = PngFilter.paeth}) Uint8List
Encode an image to the PNG format.
encodePvr(Image image, {bool singleFrame = false}) Uint8List
Encode an image to the PVR format.
encodeTga(Image image) Uint8List
Encode an image to the TGA format.
encodeTiff(Image image, {bool singleFrame = false}) Uint8List
Encode an image to the Tiff format.