WmpBitmapEncoder Class

WmpBitmapEncoder Class

 

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

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.Media.Imaging.BitmapEncoder
      System.Windows.Media.Imaging.WmpBitmapEncoder

public sealed class WmpBitmapEncoder : BitmapEncoder

NameDescription
System_CAPS_pubmethodWmpBitmapEncoder()

Initializes a new instance of the WmpBitmapEncoder class.

NameDescription
System_CAPS_pubpropertyAlphaDataDiscardLevel

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

System_CAPS_pubpropertyAlphaQualityLevel

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

System_CAPS_pubpropertyCodecInfo

Gets information that describes this codec. (Inherited from BitmapEncoder.)

System_CAPS_pubpropertyColorContexts

Gets or sets a value that represents the color profile that is associated with this encoder.(Inherited from BitmapEncoder.)

System_CAPS_pubpropertyCompressedDomainTranscode

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.

System_CAPS_pubpropertyDispatcher

Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)

System_CAPS_pubpropertyFlipHorizontal

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

System_CAPS_pubpropertyFlipVertical

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

System_CAPS_pubpropertyFrames

Gets or sets the individual frames within an image.(Inherited from BitmapEncoder.)

System_CAPS_pubpropertyFrequencyOrder

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

System_CAPS_pubpropertyHorizontalTileSlices

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

System_CAPS_pubpropertyIgnoreOverlap

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

System_CAPS_pubpropertyImageDataDiscardLevel

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

System_CAPS_pubpropertyImageQualityLevel

Gets or sets the image quality level.

System_CAPS_pubpropertyInterleavedAlpha

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

System_CAPS_pubpropertyLossless

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

System_CAPS_pubpropertyMetadata

Gets or sets the metadata that will be associated with this bitmap during encoding.(Inherited from BitmapEncoder.)

System_CAPS_pubpropertyOverlapLevel

Gets or sets the overlap processing level.

System_CAPS_pubpropertyPalette

Gets or sets a value that represents the BitmapPalette of an encoded bitmap. (Inherited from BitmapEncoder.)

System_CAPS_pubpropertyPreview

Gets or sets a BitmapSource that represents the global preview of a bitmap, if there is one. (Inherited from BitmapEncoder.)

System_CAPS_pubpropertyQualityLevel

Gets or sets the compression quality for the main image.

System_CAPS_pubpropertyRotation

Gets or sets the Rotation of the image.

System_CAPS_pubpropertySubsamplingLevel

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

System_CAPS_pubpropertyThumbnail

Gets or sets a BitmapSource that represents the global embedded thumbnail.(Inherited from BitmapEncoder.)

System_CAPS_pubpropertyUseCodecOptions

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

System_CAPS_pubpropertyVerticalTileSlices

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

NameDescription
System_CAPS_pubmethodCheckAccess()

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSave(Stream)

Encodes a bitmap image to a specified Stream.(Inherited from BitmapEncoder.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodVerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft