isolate_image_compress library
Classes
- CompressParams
- ImageResolution
- IsolateImage
- Image Entity Use in package
Enums
Extensions
Functions
-
compressGifImage(
Uint8List data, {int? maxSize, ImageResolution? maxResolution}) → Future< Uint8List> - Compress Gif Image - return empty(Uint8List(0)) if image can't be compressed.
-
compressJpegImage(
Uint8List data, {int? maxSize, ImageResolution? maxResolution}) → Future< Uint8List> - Compress Jpeg Image - return empty(Uint8List(0)) if image can't be compressed.
-
compressPngImage(
Uint8List data, {int? maxSize, ImageResolution? maxResolution}) → Future< Uint8List> - Compress PNG Image - return empty(Uint8List(0)) if image can't be compressed.
-
compressTgaImage(
Uint8List data, {int? maxSize, ImageResolution? maxResolution}) → Future< Uint8List> - Compress Tga Image - return empty(Uint8List(0)) if image can't be compressed.