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

JpegEncoderOptions Constructor (Int32, Boolean, Boolean)

Creates and initializes new JpegEncoderOptions class instance. You can set all JPEG settings here.

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

Syntax

Visual Basic
Public Sub New ( _
	quality As Integer, _
	progressive As Boolean, _
	cromaSubsampling As Boolean _
)
C#
public JpegEncoderOptions(
	int quality,
	bool progressive,
	bool cromaSubsampling
)

Parameters

quality

Type: System.Int32

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

Type: System.Boolean

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

Type: System.Boolean

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

See Also

Reference