flutter_compress_pro 0.2.0
flutter_compress_pro: ^0.2.0 copied to clipboard
Video & image compression for Android, iOS, Web, macOS, Windows & Linux. Mobile/Web/macOS use OS encoders (no FFmpeg); Windows/Linux auto-download FFmpeg when missing.
Changelog #
0.2.0 #
- Bump Android / example dependencies (Media3 1.11.1, AGP 9.4.1, Kotlin 2.4.20, Gradle 9.8.0, and latest pub packages).
0.1.0 #
Initial release of flutter_compress_pro.
Platforms #
- Android — Media3 Transformer (no FFmpeg)
- iOS / macOS — shared AVFoundation / ImageIO under
darwin/(sharedDarwinSource) - Web — WebCodecs + Canvas (no FFmpeg)
- Windows / Linux — FFmpeg via system
PATH, or auto-download (BtbN GPL) on first use
Video #
- Target size / bitrate / quality % / presets
- H.264 and HEVC (H.265) with automatic H.264 fallback
- Resolution cap, trim, remove audio, audio bitrate (where the engine supports it)
- Thumbnail, media info, size estimate, progress, cancel, batch
Image #
- Target size / quality / lossless
- JPEG · PNG · WebP · HEIC (with platform fallbacks)
- Resolution cap, optional EXIF keep,
compressImageBytes
Notes #
- Windows / Linux FFmpeg: override with
FLUTTER_COMPRESS_PRO_FFMPEG/FLUTTER_COMPRESS_PRO_FFPROBE; disable fetch withFLUTTER_COMPRESS_PRO_NO_FFMPEG_DOWNLOAD=1. - Auto-downloaded FFmpeg binaries are GPL (third-party); the Dart package itself remains MIT.