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

JpegFrame Constructor (Bitmap, Int32, Boolean, 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)


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



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.

Type: System.Int32

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

Type: System.Boolean

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

Type: System.Boolean

Value that specifies whether to use chroma subsampling during JPEG encoding. You can change it later through ChromaSubsamplingEnabled property.

See Also