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

Jpeg2kFrame Constructor (Single, Int32, Int32, Jpeg2kProgressionOrder)

Creates and initializes new Jpeg2kFrame class instance. All JPEG2000 encoder options are initialized here.

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

Syntax

Visual Basic
Public Sub New ( _
	rate As Single, _
	tileWidth As Integer, _
	tileHeight As Integer, _
	progressionOrder As Jpeg2kProgressionOrder _
)
C#
public Jpeg2kFrame(
	float rate,
	int tileWidth,
	int tileHeight,
	Jpeg2kProgressionOrder progressionOrder
)

Parameters

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.
tileWidth

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.
tileHeight

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.
progressionOrder

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.

See Also

Reference