compress_images_flutter 0.0.3+9 copy "compress_images_flutter: ^0.0.3+9" to clipboard
compress_images_flutter: ^0.0.3+9 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
140
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on compress_images_flutter