getImageInfo method

  1. @override
Future<ImageMeta> getImageInfo(
  1. String path
)
override

Implementation

@override
Future<ImageMeta> getImageInfo(String path) async {
  try {
    return await FfmpegImage.info(path);
  } on CompressException {
    rethrow;
  } catch (e) {
    throw ImageCompressException(CompressErrorCode.imageInfoFailed, '$e');
  }
}