Creates and initializes new Jpeg2kFrame class instance. Compression ratio is specified in this constructor.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub New ( _ rate As Single _ )
public Jpeg2kFrame( float rate )
Type: System.Single
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. You can change this value later using the Rate property.This constructor sets Compression property to WaveletLossy.