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)
public JpegWriter( string fileName, int quality, bool progressive, bool useSubsampling )
Type: System.String
The name of the file to create this writer on.Type: System.Int32
The JPEG quality in range[0, 100]
. You can change it later through the Quality property.Type: System.Boolean
true
if JPEG image is progressive; otherwise, false
. You can change it later through the IsProgressive property.Type: System.Boolean
true
if chroma subsampling is used; otherwise, false
. You can change it later through the UseSubsampling property.