image_compressor 0.1.0 copy "image_compressor: ^0.1.0" to clipboard
image_compressor: ^0.1.0 copied to clipboard

Compress images to a target file size in Flutter — one call to get an image under X KB. Native speed, zero-config web, automatic orientation and large-image handling.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add image_compressor

With Flutter:

 $ flutter pub add image_compressor

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  image_compressor: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:image_compressor/image_compressor.dart';
1
likes
0
points
331
downloads

Publisher

unverified uploader

Weekly Downloads

Compress images to a target file size in Flutter — one call to get an image under X KB. Native speed, zero-config web, automatic orientation and large-image handling.

Repository (GitHub)
View/report issues

Topics

#image #compression #image-compression #resize #thumbnail

License

unknown (license)

Dependencies

cross_file, flutter, flutter_web_plugins, meta, plugin_platform_interface, web

More

Packages that depend on image_compressor

Packages that implement image_compressor