Table of Contents

Class JpegEncoderOptions

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

The keys in this class are used to set property values in an IPropertyBag2 when working with the JPEG IBitmapEncoder's options.

See JPEG Format Overview for more information.

public static class JpegEncoderOptions
Inheritance
JpegEncoderOptions
Inherited Members

Properties

BitmapTransform

Specifies how the image is to be transformed during image decoding.

The default value is None.

ImageQuality

Specifies the desired image fidelity. 0.0 indicates the lowest possible fidelity and 1.0 specifies the highest fidelity.

The range of this value is [0, 1]. The default value is 0.9.

JpegYCrCbSubsampling

Specifies the subsampling ratio to use for YCrCb encoding.

The default value is Subsample420.

SuppressApp0

Specifies whether to suppress the writing of App0 metadata while encoding the image data.

The default value is false.