PeachImage

PeachImage.Formats.Webp.WebpEncoderOptions

WebpEncoderOptions.Lossless Property

When true (the default), encodes as lossless VP8L, preserving every pixel exactly. When false, encodes as lossy VP8 using Quality -- except for images that need a real alpha channel (VP8 lossy has no native alpha plane; see issue #26 for the planned ALPH-chunk follow-on), which are still encoded as VP8L regardless of this setting so that false never silently loses alpha.

public bool Lossless { get; init; }

Property Value

System.Boolean