Muokkaa

Jaa


WmpBitmapDecoder Class

Definition

Defines a decoder for Microsoft Windows Media Photo encoded images.

public ref class WmpBitmapDecoder sealed : System::Windows::Media::Imaging::BitmapDecoder
public sealed class WmpBitmapDecoder : System.Windows.Media.Imaging.BitmapDecoder
type WmpBitmapDecoder = class
    inherit BitmapDecoder
Public NotInheritable Class WmpBitmapDecoder
Inherits BitmapDecoder
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.

Constructors

WmpBitmapDecoder(Stream, BitmapCreateOptions, BitmapCacheOption)

Initializes a new instance of WmpBitmapDecoder from the specified file stream with the specified createOptions and cacheOption.

WmpBitmapDecoder(Uri, BitmapCreateOptions, BitmapCacheOption)

Initializes a new instance of WmpBitmapDecoder from the specified Uri with the specified createOptions and cacheOption.

Properties

CodecInfo

Gets information that describes this codec.

(Inherited from BitmapDecoder)
ColorContexts

Gets a value that represents the color profile associated with a bitmap, if one is defined.

(Inherited from BitmapDecoder)
Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
Frames

Gets the content of an individual frame within a bitmap.

(Inherited from BitmapDecoder)
IsDownloading

Gets a value that indicates if the decoder is currently downloading content.

(Inherited from BitmapDecoder)
Metadata

Gets an instance of BitmapMetadata that represents the global metadata associated with this bitmap, if metadata is defined.

(Inherited from BitmapDecoder)
Palette

Gets the BitmapPalette associated with this decoder.

(Inherited from BitmapDecoder)
Preview

Gets a BitmapSource that represents the global preview of this bitmap, if one is defined.

(Inherited from BitmapDecoder)
Thumbnail

Gets a BitmapSource that represents the thumbnail of the bitmap, if one is defined.

(Inherited from BitmapDecoder)

Methods

CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
CreateInPlaceBitmapMetadataWriter()

Creates an instance of InPlaceBitmapMetadataWriter, which can be used to update the metadata of a bitmap.

(Inherited from BitmapDecoder)
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)
ToString()

Converts the current value of a BitmapDecoder to a String.

(Inherited from BitmapDecoder)
VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Events

DownloadCompleted

Occurs when a BitmapDecoder has finished downloading bitmap content.

(Inherited from BitmapDecoder)
DownloadFailed

Occurs when bitmap content failed to download.

(Inherited from BitmapDecoder)
DownloadProgress

Occurs when a BitmapDecoder has made progress downloading bitmap content.

(Inherited from BitmapDecoder)

Applies to

See also