Creates and initializes new Jpeg2kEncoderOptions class instance. All JPEG2000 encoder options are initialized here.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub New ( _ rate As Single, _ tileWidth As Integer, _ tileHeight As Integer, _ progressionOrder As Jpeg2kProgressionOrder _ )
public Jpeg2kEncoderOptions( float rate, int tileWidth, int tileHeight, Jpeg2kProgressionOrder progressionOrder )
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.Type: System.Int32
A non-negative value that specifies a JPEG2000 tile width. If it equals to 0, the tile height is taken the same as a bitmap height. You can change this value later using the TileWidth property.Type: System.Int32
A non-negative value that specifies a JPEG2000 tile height. If it equals to 0, the tile height is taken the same as a bitmap height. You can change this value later using the TileHeight property.Type: Aurigma.GraphicsMill.Codecs.Jpeg2kProgressionOrder
A member of the Jpeg2kProgressionOrder enumeration which specifies a progression order of the JPEG2000 compression. You can change this value later using the ProgressionOrder property.