[]
BitmapEncoderOptions used for encoding.
public class BitmapEncoderOptions : PropertyBag, IDisposable, IUnknown
Initializes a new instance of the BitmapEncoderOptions class.
public BitmapEncoderOptions(IntPtr propertyBagPointer)
propertyBagPointer
System.IntPtrThe property bag pointer.
Gets or sets the amount of alpha frequency data to discard during a compressed domain transcode.
public byte AlphaDataDiscard { get; set; }
Range value: 0-4 Applicable Codecs: JPEG-XR
Gets or sets the compression quality for the planar alpha channel image.
public byte AlphaQuality { get; set; }
Range value: 1-255 Applicable Codecs: JPEG-XR
Gets or sets the bitmap transform.
public BitmapTransformOptions BitmapTransform { get; set; }
Range value: BitmapTransformOptions Applicable Codecs: JPEG
Gets or sets the chrominance.
[CLSCompliant(false)]
public uint[] Chrominance { get; set; }
Range value: 64 Entries (DCT) Applicable Codecs: JPEG
Enables or disables compressed domain transcoding.
public bool CompressedDomainTranscode { get; set; }
Range value: true-false Applicable Codecs: JPEG-XR
Gets or sets the compression quality.
public float CompressionQuality { get; set; }
Range value: 0-1.0f Applicable Codecs: TIFF
Gets or sets a value indicating whether [EnableV5Header32bppBGRA].
public bool EnableV5Header32bppBGRA { get; set; }
Range value: true-false Applicable Codecs: BMP
Gets or sets the filter option.
public PngFilterOption FilterOption { get; set; }
Range value: PngFilterOption Applicable Codecs: PNG
Enables encoding in frequency order.
public bool FrequencyOrder { get; set; }
Range value: true-false Applicable Codecs: JPEG-XR
Gets or sets the number of horizontal tiles.
[CLSCompliant(false)]
public ushort HorizontalTileSlices { get; set; }
Range value: 0–4095 Applicable Codecs: JPEG-XR
Specifies how the encoder handles tile boundaries during a compressed domain transcode.
public bool IgnoreOverlap { get; set; }
Range value: true-false Applicable Codecs: JPEG-XR
Gets or sets the amount of image frequency data to discard during a compressed domain transcode.
public byte ImageDataDiscard { get; set; }
Range value: 0–3 Applicable Codecs: JPEG-XR
Gets or sets the image quality.
public float ImageQuality { get; set; }
Range value: 0-1.0f Applicable Codecs: JPEG, HDPhoto
Gets or sets a value indicating whether [interlace option].
public bool InterlaceOption { get; set; }
Range value: true-false Applicable Codecs: PNG
Specifies whether to encode interleaved alpha or planar alpha.
public bool InterleavedAlpha { get; set; }
Range value: true-false Applicable Codecs: JPEG-XR
Gets or sets the JPEG Y cr cb subsampling.
public JpegYCrCbSubsamplingOption JpegYCrCbSubsampling { get; set; }
Range value: JpegYCrCbSubsamplingOption Applicable Codecs: JPEG
Gets or sets a value indicating whether loss less compression is enabled.
public bool Lossless { get; set; }
Range value: true-false Applicable Codecs: HDPhoto
Gets or sets the luminance.
[CLSCompliant(false)]
public uint[] Luminance { get; set; }
Range value: 64 Entries (DCT) Applicable Codecs: JPEG
Gets or sets the level of overlap filtering.
public byte Overlap { get; set; }
Range value: 0–4 Applicable Codecs: JPEG-XR
Enables or disables progressive encoding.
public bool ProgressiveMode { get; set; }
Range value: true-false Applicable Codecs: JPEG-XR
Gets or sets the compression quality.
public byte Quality { get; set; }
Range value: 1–255 Applicable Codecs: JPEG-XR
Enables or disables stream-only mode.
public bool StreamOnly { get; set; }
Range value: true-false Applicable Codecs: JPEG-XR
Gets or sets the chroma subsampling.
public byte Subsampling { get; set; }
Range value: 0–3 Applicable Codecs: JPEG-XR
Gets or sets a value indicating whether [suppress app0].
public bool SuppressApp0 { get; set; }
Range value: true-false Applicable Codecs: JPEG
Gets or sets the TIFF compression method.
public TiffCompressionOption TiffCompressionMethod { get; set; }
Range value: TiffCompressionOption Applicable Codecs: TIFF
Specifies whether to use the Quality, Overlap, and Subsampling properties instead of the generic ImageQuality property.
public bool UseCodecOptions { get; set; }
Range value: true-false Applicable Codecs: JPEG-XR
Gets or sets the number of vertical tiles.
[CLSCompliant(false)]
public ushort VerticalTileSlices { get; set; }
Range value: 0–4095 Applicable Codecs: JPEG-XR