Edit

Share via


BrotliCompressionOptions.Quality Property

Definition

Gets or sets the compression quality for a Brotli compression stream.

public:
 property int Quality { int get(); void set(int value); };
public int Quality { get; set; }
member this.Quality : int with get, set
Public Property Quality As Integer

Property Value

The compression quality for a Brotli compression stream. The default value is 4.

Exceptions

The value is less than 0 or greater than 11.

Remarks

The higher the quality, the slower the compression. The range is from 0 to 11.

Applies to