native_image_compress 0.2.4
native_image_compress: ^0.2.4 copied to clipboard
Compress images to JPEG, PNG, WebP, HEIC, or AVIF using the platform's native encoders.
0.2.4 #
CompressImageRequest.qualityis now required.- Android quality/AVIF errors now use
INVALID_ARGUMENT/UNSUPPORTED_FORMATcodes.
0.2.3 #
ResizeOptions.maxWidth/maxHeightare now independently optional.- Require Dart
^3.13.0, Flutter>=3.47.0.
0.2.2 #
- Check AVIF encoder support before encoding (
avifNotSupported). - Validate
qualityon Android too. - Add
issue_tracker/topicstopubspec.yaml. - Expand README: install steps, AVIF caveat, error code table.
0.2.1 #
- Speed up crop/resize via sampled decoding (
inSampleSize). - Extract HEIC/AVIF encoding into
HeifEncoder.
0.2.0 #
- Migrate to Pigeon-generated messages.
- Add
cropOptions/resizeOptions.
0.1.0 #
- Initial release: JPEG, PNG, WebP, HEIC, AVIF.
- Android only (minSdk 28).