compressWebpThenJpg method

  1. @override
Future<ImageFile> compressWebpThenJpg(
  1. HcImageFileConfiguration param
)
override

Compressing image into WEBP if platform supported, otherwise JPG

The HcImageOutputType is set automatically to HcImageOutputType.webpThenJpg

Implementation

@override
Future<ic.ImageFile> compressWebpThenJpg(
    HcImageFileConfiguration param) async {
  return await HcDartCompressor.compressJpgDart(param);
}