heif_converter
1.0.7, released 4 months ago by an unverified publisher
Flutter plugin to convert HEIC/HEIF image files to PNG or JPEG format on Android and iOS.
What it does
Converts HEIC and HEIF image files to PNG or JPEG formats on both Android and iOS devices. It allows specifying an explicit output path or automatically generating one in the system temporary directory based on the requested format.
AI-written summary of version 1.0.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to convert HEIC/HEIF photos taken on iOS devices to standard PNG or JPEG formats.
- You need to process HEIF images on Android and iOS within a Flutter app.
Skip it when
- You need a general-purpose image cropping, caching, or UI rendering library.
- You are targeting platforms other than Android and iOS.
Strengths
- Supports both Android and iOS platforms.
- Simple API with a single core method for conversion.
- Supports Swift Package Manager and CocoaPods for iOS.
Weaknesses
- Limited to only Android and iOS platforms.
- Only converts HEIC/HEIF to PNG or JPEG formats.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires Android minSdk 16 and iOS 12.0.
final String? outputPath = await HeifConverter.convert(
'/path/to/image.heic',
format: 'jpg',
);Alternatives
Packages that do the same job and could replace heif_converter.
- image_cropper
A Flutter plugin for Android, iOS and Web supports cropping images
84Compare - any_image_view
Dependency-free Flutter image viewer for raster, vector, Lottie, and network sources.
68Compare - image
Pure Dart library to load, manipulate, encode, and decode various image formats.
96Compare - image_picker
Flutter plugin for selecting images/videos from the gallery and capturing new ones via camera.
94Compare
Works with
Packages commonly used together with heif_converter: ones it builds on, ones built on it, and its own family.