compress_images_flutter 0.0.3+5 copy "compress_images_flutter: ^0.0.3+5" to clipboard
compress_images_flutter: ^0.0.3+5 copied to clipboard

Plugin flutter for compress images using your path in memory device, functional in Ios and Android Platforms.

Add import #

import 'package:compress_images_flutter/compress_images_flutter.dart';

Create instance of Lib #

final CompressImagesFlutter compressImagesFlutter = CompressImagesFlutter();

Call with a path your image, the quality parameter if not informed the default will be 70 #

File? compressedPhoto = await compressImagesFlutter
                          .compressImage(photo!.path, quality: 30);

alt text

5
likes
0
pub points
86%
popularity

Publisher

unverified uploader

Plugin flutter for compress images using your path in memory device, functional in Ios and Android Platforms.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on compress_images_flutter