这是indexloc提供的服务,不要输入任何密码

downsize 1.1.0 copy "downsize: ^1.1.0" to clipboard
downsize: ^1.1.0 copied to clipboard

Pure dart image compression across multiple formats, including JPG, PNG, GIF, BMP, TIFF, TGA, PVR, and ICO.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add downsize

With Flutter:

 $ flutter pub add downsize

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

dependencies:
  downsize: ^1.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:downsize/downsize.dart';
2
likes
155
points
53
downloads

Publisher

verified publisheryaseen.dev

Weekly Downloads

Pure dart image compression across multiple formats, including JPG, PNG, GIF, BMP, TIFF, TGA, PVR, and ICO.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

image

More

Packages that depend on downsize