Skip to content

joutvhu/heif_converter

Repository files navigation

HEIF Converter

Flutter plugin to convert HEIC/HEIF file to PNG/JPEG image.

Installation

Add the Package

dependencies:
  heif_converter: ^lastVersion

How to use

Import the package in your dart file

import 'package:heif_converter/heif_converter.dart';

And call convert method with local HEIC/HEIF image file path.

String jpgPath = await HeifConverter.convert(heicPath, output: jpgPath);
String pngPath = await HeifConverter.convert(heicPath, format: 'png');