WEBP_LOSSLESS property
final
Compress to the WEBP lossless format.
Quality refers to how much effort to put into compression.
A value of 0 means to compress quickly, resulting in a relatively large file size.
100 means to spend more time compressing, resulting in a smaller file.
Officially Supported Platforms/Implementations:
- Android WebView 30+
Implementation
static final WEBP_LOSSLESS = CompressFormat._internalMultiPlatform(
'WEBP_LOSSLESS',
() {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return 'WEBP_LOSSLESS';
default:
break;
}
return null;
},
);