Load, manipulate and save images in pure Dart
open sourceMITfree
The Dart Image Library loads, saves and manipulates images in many file formats, written in pure Dart with no native dependencies, so it runs in command-line apps, servers, Flutter on every platform and the web. It decodes and encodes formats including animated GIF, PNG and WebP; resizes, crops, rotates and flips; applies dozens of filters, colour quantization and dithering; draws shapes, lines and text; and gives direct pixel access, EXIF metadata, ICC profiles and HDR images. A Command API runs image processing in a separate isolate.
Problems it solves
- resize and crop uploaded photos in a Dart server without native libraries
- read and write PNG and GIF files from a Flutter app
- apply filters to an image in pure Dart
Features
- decode and encode many image formats, including animated GIF, PNG and WebP
- resize, crop, rotate and flip
- dozens of filters, colour quantization and dithering
- draw shapes, lines and text
- EXIF, ICC profiles and HDR images
- pure Dart with no native dependencies
Alternatives
The same job
These do what image (Dart) does.
