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( Stream stream, int quality, bool progressive, bool useSubsampling )
Type: System.IO.Stream
The Stream 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.