compressWebpThenJpg method
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);
}