Table of Contents

Enum WebpEncodingMethod

Namespace
SixLabors.ImageSharp.Formats.Webp
Assembly
SixLabors.ImageSharp.dll

Quality/speed trade-off for the encoding process (0=fast, 6=slower-better).

public enum WebpEncodingMethod

Fields

BestQuality = 6

Slowest option, but best quality.

Default = 4

BestQuality trade off between speed and quality.

Fastest = 0

Fastest, but quality compromise.

Level0 = 0

Fastest, but quality compromise. Equivalent to Fastest.

Level1 = 1

Level1.

Level2 = 2

Level 2.

Level3 = 3

Level 3.

Level4 = 4

Level 4. Equivalent to Default.

Level5 = 5

Level 5.

Level6 = 6

Slowest option, but best quality. Equivalent to BestQuality.