WEBP_LOSSLESS constant

CompressFormat const WEBP_LOSSLESS

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 native WebView 30+

Implementation

static const WEBP_LOSSLESS =
    CompressFormat._internal('WEBP_LOSSLESS', 'WEBP_LOSSLESS');