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

TiffFrame Constructor (Bitmap, Int32)

Creates and initializes new TiffFrame class instance. You can associate a bitmap and specify JPEG compression quality here.

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

Syntax

Visual Basic
Public Sub New ( _
	bitmap As Bitmap, _
	quality As Integer _
)
C#
public TiffFrame(
	Bitmap bitmap,
	int quality
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance which should be associated with this frame. To put another bitmap into frame, you should use SetBitmap(Bitmap) method.
quality

Type: System.Int32

Number in range [0, 100] that specifies quality of JPEG compression. Large values means higher quality, but larger file size. You can change it later using Quality property.

Remarks

If you use this constructor, Compression property will be set to Jpeg property.

See Also

Reference