WEBP_LOSSY property
final
Compress to the WEBP lossy format.
Quality of 0 means compress for the smallest size.
100 means compress for max visual quality.
Officially Supported Platforms/Implementations:
- Android WebView 30+
Implementation
static final WEBP_LOSSY = CompressFormat._internalMultiPlatform(
'WEBP_LOSSY',
() {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return 'WEBP_LOSSY';
default:
break;
}
return null;
},
);