Table of Contents

Class BitmapEncoderOptions

Namespace
SharpDX.WIC
Assembly
SharpDX.Direct2D1.dll

BitmapEncoderOptions used for encoding.

public class BitmapEncoderOptions : PropertyBag
Inheritance
BitmapEncoderOptions

Constructors

BitmapEncoderOptions(nint)

Initializes a new instance of the BitmapEncoderOptions class.

public BitmapEncoderOptions(nint propertyBagPointer)

Parameters

propertyBagPointer nint

The property bag pointer.

Properties

BitmapTransform

Gets or sets the bitmap transform.

public BitmapTransformOptions BitmapTransform { get; set; }

Property Value

BitmapTransformOptions

The bitmap transform.

Remarks

Range value: BitmapTransformOptions Applicable Codecs: JPEG

Chrominance

Gets or sets the chrominance.

public uint[] Chrominance { get; set; }

Property Value

uint[]

The chrominance.

Remarks

Range value: 64 Entries (DCT) Applicable Codecs: JPEG

CompressionQuality

Gets or sets the compression quality.

public float CompressionQuality { get; set; }

Property Value

float

The compression quality.

Remarks

Range value: 0-1.0f Applicable Codecs: TIFF

FilterOption

Gets or sets the filter option.

public PngFilterOption FilterOption { get; set; }

Property Value

PngFilterOption

The filter option.

Remarks

Range value: PngFilterOption Applicable Codecs: PNG

ImageQuality

Gets or sets the image quality.

public float ImageQuality { get; set; }

Property Value

float

The image quality.

Remarks

Range value: 0-1.0f Applicable Codecs: JPEG, HDPhoto

InterlaceOption

Gets or sets a value indicating whether [interlace option].

public bool InterlaceOption { get; set; }

Property Value

bool

true if [interlace option]; otherwise, false.

Remarks

Range value: true-false Applicable Codecs: PNG

JpegYCrCbSubsampling

Gets or sets the JPEG Y Cr Cb subsampling.

public JpegYCrCbSubsamplingOption JpegYCrCbSubsampling { get; set; }

Property Value

JpegYCrCbSubsamplingOption

The JPEG Y Cr Cb subsampling.

Remarks

Range value: JpegYCrCbSubsamplingOption Applicable Codecs: JPEG

LossLess

Gets or sets a value indicating whether loss less compression is enabled.

public bool LossLess { get; set; }

Property Value

bool

true if [loss less]; otherwise, false.

Remarks

Range value: true-false Applicable Codecs: HDPhoto

Luminance

Gets or sets the luminance.

public uint[] Luminance { get; set; }

Property Value

uint[]

The luminance.

Remarks

Range value: 64 Entries (DCT) Applicable Codecs: JPEG

SuppressApp0

Gets or sets a value indicating whether [suppress app0].

public bool SuppressApp0 { get; set; }

Property Value

bool

true if [suppress app0]; otherwise, false.

Remarks

Range value: true-false Applicable Codecs: JPEG

TiffCompressionMethod

Gets or sets the TIFF compression method.

public TiffCompressionOption TiffCompressionMethod { get; set; }

Property Value

TiffCompressionOption

The TIFF compression method.

Remarks

Range value: TiffCompressionOption Applicable Codecs: TIFF