WmpBitmapEncoder WmpBitmapEncoder WmpBitmapEncoder 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 is a new 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 Windows Media Photo Specification.

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() WmpBitmapEncoder() WmpBitmapEncoder() WmpBitmapEncoder()

Initializes a new instance of the WmpBitmapEncoder class.

Properties

AlphaDataDiscardLevel AlphaDataDiscardLevel AlphaDataDiscardLevel AlphaDataDiscardLevel

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

AlphaQualityLevel AlphaQualityLevel AlphaQualityLevel AlphaQualityLevel

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

CodecInfo CodecInfo CodecInfo CodecInfo

Gets information that describes this codec.

(Inherited from BitmapEncoder)
ColorContexts ColorContexts ColorContexts ColorContexts

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

(Inherited from BitmapEncoder)
CompressedDomainTranscode CompressedDomainTranscode CompressedDomainTranscode 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 Dispatcher Dispatcher Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
FlipHorizontal FlipHorizontal FlipHorizontal FlipHorizontal

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

FlipVertical FlipVertical FlipVertical FlipVertical

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

Frames Frames Frames Frames

Gets or sets the individual frames within an image.

(Inherited from BitmapEncoder)
FrequencyOrder FrequencyOrder FrequencyOrder FrequencyOrder

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

HorizontalTileSlices HorizontalTileSlices HorizontalTileSlices HorizontalTileSlices

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

IgnoreOverlap IgnoreOverlap IgnoreOverlap 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 ImageDataDiscardLevel ImageDataDiscardLevel ImageDataDiscardLevel

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

ImageQualityLevel ImageQualityLevel ImageQualityLevel ImageQualityLevel

Gets or sets the image quality level.

InterleavedAlpha InterleavedAlpha InterleavedAlpha InterleavedAlpha

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

Lossless Lossless Lossless Lossless

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

Metadata Metadata Metadata Metadata

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

(Inherited from BitmapEncoder)
OverlapLevel OverlapLevel OverlapLevel OverlapLevel

Gets or sets the overlap processing level.

Palette Palette Palette Palette

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

(Inherited from BitmapEncoder)
Preview Preview Preview Preview

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

(Inherited from BitmapEncoder)
QualityLevel QualityLevel QualityLevel QualityLevel

Gets or sets the compression quality for the main image.

Rotation Rotation Rotation Rotation

Gets or sets the Rotation of the image.

SubsamplingLevel SubsamplingLevel SubsamplingLevel SubsamplingLevel

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

Thumbnail Thumbnail Thumbnail Thumbnail

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

(Inherited from BitmapEncoder)
UseCodecOptions UseCodecOptions UseCodecOptions UseCodecOptions

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

VerticalTileSlices VerticalTileSlices VerticalTileSlices VerticalTileSlices

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

Methods

CheckAccess() CheckAccess() CheckAccess() CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save(Stream) Save(Stream) Save(Stream) Save(Stream)

Encodes a bitmap image to a specified Stream.

(Inherited from BitmapEncoder)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
VerifyAccess() VerifyAccess() VerifyAccess() VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Applies to

See also