flutter_img_compress 1.0.2 copy "flutter_img_compress: ^1.0.2" to clipboard
flutter_img_compress: ^1.0.2 copied to clipboard

This is a plugin compress your image to a expected size,And also you can use this plugin to save image to the album or dictionary.

flutter_img_compress #

Compress your image to a expected size.

How to use?

#file path String? filePath = await FlutterImageCompress.compressImage( path, maxSize: size, maxWidth: maxWidth, maxHeight: maxHeight, quality: quality, );

or just

FlutterImageCompress.compressImage(path,quality,maxWidth,maxHeight);

#which will save to path

FlutterImageCompress.getCompressDefaultPath();

0
likes
160
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

This is a plugin compress your image to a expected size,And also you can use this plugin to save image to the album or dictionary.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_img_compress