all_image_compress 1.0.2
all_image_compress: ^1.0.2 copied to clipboard
A powerful, pure-Dart image compression library for Flutter. Supports JPEG, PNG, GIF, BMP, TIFF and WebP decode. Runs in Isolates to avoid UI jank. No native code required.
1.0.2 #
- Added convenience resize APIs:
fitWidth,fitHeight,containand sync variants. - Added regression tests for PNG transparency, portrait/panoramic aspect ratio, and partial batch failures.
- Documented WebP decode-only behavior and current AVIF/HEIC limitation.
- Added a local benchmark script for large-image compression checks.
- Added optional 50MB+ phone-image performance test and phone-sized benchmark cases.
1.0.1 #
- Added
topicstopubspec.yaml(image, compression, image-processing, flutter, dart) for pub.dev discoverability - Added English documentation (
README.en.md), with language links between it and the PortugueseREADME.md
1.0.0 #
- Initial release
AllImageCompress.fromBytes— async, isolate-based compression fromUint8ListAllImageCompress.fromBytesSync— sync compression for off-UI contextsAllImageCompress.batch/batchUniform— parallel batch compression with progress callbackcompressFile/compressFileToFile— file-based helpers (non-web)- Output formats: JPEG, PNG, GIF, BMP, TIFF
- Input formats: JPEG, PNG, GIF, BMP, TIFF, WebP, TGA, ICO, PVR (auto-detected)
CompressConfig— quality, maxWidth/maxHeight, outputFormat, rotate, autoCorrectOrientation, interpolation, keepExifCompressResult— bytes, dimensions, format, compressionRatio, savedPercent, summary- 100% pure Dart, no native code required