Last updated:
0 purchases
image size getter heic
Heic support #
heic support for image_size_getter
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
image_size_getter_heic: ^1.0.0
copied to clipboard
Usage #
import 'dart:io';
import 'package:image_size_getter/file_input.dart';
import 'package:image_size_getter_heic/image_size_getter_heic.dart';
void main() {
final decoder = HeicDecoder();
ImageSizeGetter.registerDecoder(decoder);
final input = FileInput(File('example/asset/example.heic'));
final size = ImageSizeGetter.getSize(input);
print(size);
}
copied to clipboard
License #
APACHE LICENSE, VERSION 2.0
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.