pixer 0.0.13
pixer: ^0.0.13 copied to clipboard
High-performance Dart image manipulation backed by Rust FFI for resizing, cropping, encoding, and thumbnail generation in apps and tools.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate pixerUse it
The package has the following executables:
$ pixer
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pixerWith Flutter:
$ flutter pub add pixerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pixer: ^0.0.13Alternatively, 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:pixer/pixer.dart';