JpegSettings Constructor (Int32, Boolean, Boolean)

Initializes a new instance of the JpegSettings class using the specified JPEG compression settings.

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

Syntax

C#
public JpegSettings(
	int quality,
	bool useSubsampling,
	bool isProgressive
)

Parameters

quality

Type: System.Int32

The JPEG quality in range [0, 100]. You can change it later through the Quality property.
useSubsampling

Type: System.Boolean

true if chroma subsampling is used; otherwise, false. You can change it later through the UseSubsampling property.
isProgressive

Type: System.Boolean

true if JPEG image is progressive; otherwise, false. You can change it later through the IsProgressive property.

See Also

Reference