WmpBitmapEncoder Class

Definition

Defines an encoder that is used to encode Microsoft Windows Media Photo images.

public ref class WmpBitmapEncoder sealed : System::Windows::Media::Imaging::BitmapEncoder
public sealed class WmpBitmapEncoder : System.Windows.Media.Imaging.BitmapEncoder
type WmpBitmapEncoder = class
    inherit BitmapEncoder
Public NotInheritable Class WmpBitmapEncoder
Inherits BitmapEncoder
Inheritance

Remarks

Windows Media Photo or HD Photo is a codec that provides better image fidelity than JPEG with smaller file sizes and more features. Windows Media Photo images achieve lossy and lossless compression by using a single algorithm. Windows Media Photo images support existing metadata standards. For additional information about this format, see HD Photo Format Overview.

Windows Media Photo files do not support preview, global thumbnails, frame level thumbnails, or multiple frames.

Encoding does not work in partial trust. See WPF Partial Trust Security for information on partial trust.

Constructors

WmpBitmapEncoder()

Initializes a new instance of the WmpBitmapEncoder class.

Properties

AlphaDataDiscardLevel

Gets or sets the level of alpha frequency data to discard during a compressed domain transcode.

AlphaQualityLevel

Gets or sets the compression quality for a planar alpha channel.

CodecInfo

Gets information that describes this codec.

(Inherited from BitmapEncoder)
ColorContexts

Gets or sets a value that represents the color profile that is associated with this encoder.

(Inherited from BitmapEncoder)
CompressedDomainTranscode

Gets or sets a value that indicates whether compressed domain operations can be used. Compressed domain operations are transformation operations that are done without decoding the image data.

Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
FlipHorizontal

Gets or sets a value indicating whether to flip the image horizontally.

FlipVertical

Gets or sets a value that indicates whether to flip the image vertically.

Frames

Gets or sets the individual frames within an image.

(Inherited from BitmapEncoder)
FrequencyOrder

Gets or sets a value that indicates whether to encoding in frequency order.

HorizontalTileSlices

Gets or sets the number of horizontal divisions to use during compression encoding. A single division creates two horizontal regions.

IgnoreOverlap

Gets or sets a value that indicates whether to ignore region overlap pixels in subregion compressed domain encoding. This feature is not currently implemented.

ImageDataDiscardLevel

Gets or sets the level of image data to discard during a compressed domain transcode.

ImageQualityLevel

Gets or sets the image quality level.

InterleavedAlpha

Gets or sets a value that indicates whether to encode the alpha channel data as an additional interleaved channel.

Lossless

Gets or sets a value that indicates whether to encode using lossless compression.

Metadata

Gets or sets the metadata that will be associated with this bitmap during encoding.

(Inherited from BitmapEncoder)
OverlapLevel

Gets or sets the overlap processing level.

Palette

Gets or sets a value that represents the BitmapPalette of an encoded bitmap.

(Inherited from BitmapEncoder)
Preview

Gets or sets a BitmapSource that represents the global preview of a bitmap, if there is one.

(Inherited from BitmapEncoder)
QualityLevel

Gets or sets the compression quality for the main image.

Rotation

Gets or sets the Rotation of the image.

SubsamplingLevel

Gets or sets the sub-sampling level for RGB image encoding.

Thumbnail

Gets or sets a BitmapSource that represents the global embedded thumbnail.

(Inherited from BitmapEncoder)
UseCodecOptions

Gets or sets a value that indicates codec options are to be used.

VerticalTileSlices

Gets or sets the number of vertical divisions to use during compression encoding. A single division creates two vertical regions.

Methods

CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save(Stream)

Encodes a bitmap image to a specified Stream.

(Inherited from BitmapEncoder)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Applies to

See also