AvifCompression Enum

Selects the AV1 coding of every image of an AVIF file.

public enum AvifCompression

Fields

NameValueDescription
Lossless0The lossless coding: every sample is preserved exactly, including the color of fully transparent pixels (unless AvifEncoder.ClearTransparentColors is set). The R'G'B' samples are coded without color conversion (identity matrix, 4:4:4, full range), gray samples as a monochrome image. This is the default.
Lossy1The lossy coding of Y'CbCr samples, controlled by AvifEncoder.Quality and AvifEncoder.ChromaSubsampling. Alpha is stored losslessly.