This documentation is for the old version. Go to the latest Graphics Mill docs

Jpeg2kEncoderOptions.Rate Property

Gets/sets a compression ratio.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Property Rate As Single
C#
public float Rate { get; set; }

Property Value

A positive value in range (0, 1] which specifies a compression ratio, i.e. ratio between compressed and uncompressed bitmap. E.g. if you set this value to 0.1, the output file size will be one tenth of the size of the uncompressed bitmap.

Remarks

Default value is 1 (no compression).

Note

This property value is ignored if Compression is not WaveletLossy.

See Also

Reference