Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 509 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 509 Bytes

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');