JpegWriter Constructor (String, Int32, Boolean, Boolean)

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

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

Syntax

C#
public JpegWriter(
	string fileName,
	int quality,
	bool progressive,
	bool useSubsampling
)

Parameters

fileName

Type: System.String

The name of the file to create this writer on.
quality

Type: System.Int32

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

Type: System.Boolean

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

Type: System.Boolean

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

See Also

Reference