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

JpegFrame Constructor (Bitmap, Int32, Boolean)

Creates and initializes new JpegFrame class instance. You can associate a bitmap with it as well as set all the frame settings here.

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

Syntax

Visual Basic
Public Sub New ( _
	bitmap As Bitmap, _
	quality As Integer, _
	progressive As Boolean _
)
C#
public JpegFrame(
	Bitmap bitmap,
	int quality,
	bool progressive
)

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

Value in range [0, 100] specifying JPEG quality. You can change it later using Quality property.
progressive

Type: System.Boolean

Value that specifies if JPEG should be progressive. You can change it later using IsProgressive property.

See Also

Reference