runner/webp_encoder library

Functions

encodePngAsWebp(Uint8List pngBytes, {required String benchmarkOperation, int? resizeWidth, String? blendAlpha}) → Future<Uint8List?>
Encodes PNG bytes as WebP using the platform encoder shipped by webp.