Export (0) Print
Expand All

JpegBitmapDecoder Class

Defines a decoder for Joint Photographics Experts Group (JPEG) encoded images. 

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

[<Sealed>]
type JpegBitmapDecoder =  
    class 
        inherit BitmapDecoder 
    end

The JpegBitmapDecoder type exposes the following members.

  NameDescription
Public methodJpegBitmapDecoder(Stream, BitmapCreateOptions, BitmapCacheOption)Initializes a new instance of the JpegBitmapDecoder class from the specified file stream, with the specified createOptions and cacheOption.
Public methodJpegBitmapDecoder(Uri, BitmapCreateOptions, BitmapCacheOption)Initializes a new instance of the JpegBitmapDecoder class from the specified Uri, with the specified createOptions and cacheOption.
Top

  NameDescription
Public propertyCodecInfoGets information that describes this codec. (Inherited from BitmapDecoder.)
Public propertyColorContextsGets a value that represents the color profile associated with a bitmap, if one is defined. (Inherited from BitmapDecoder.)
Public propertyDispatcherGets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public propertyFramesGets the content of an individual frame within a bitmap. (Inherited from BitmapDecoder.)
Public propertyIsDownloadingGets a value that indicates if the decoder is currently downloading content. (Inherited from BitmapDecoder.)
Public propertyMetadataGets an instance of BitmapMetadata that represents the global metadata associated with this bitmap, if metadata is defined. (Inherited from BitmapDecoder.)
Public propertyPaletteGets the BitmapPalette associated with this decoder. (Inherited from BitmapDecoder.)
Public propertyPreviewGets a BitmapSource that represents the global preview of this bitmap, if one is defined. (Inherited from BitmapDecoder.)
Public propertyThumbnailGets a BitmapSource that represents the thumbnail of the bitmap, if one is defined. (Inherited from BitmapDecoder.)
Top

  NameDescription
Public methodCheckAccessDetermines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Public methodCreateInPlaceBitmapMetadataWriterCreates an instance of InPlaceBitmapMetadataWriter, which can be used to update the metadata of a bitmap. (Inherited from BitmapDecoder.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringConverts the current value of a BitmapDecoder to a String. (Inherited from BitmapDecoder.)
Public methodVerifyAccessEnforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top

  NameDescription
Public eventDownloadCompletedOccurs when a BitmapDecoder has finished downloading bitmap content. (Inherited from BitmapDecoder.)
Public eventDownloadFailedOccurs when bitmap content failed to download. (Inherited from BitmapDecoder.)
Public eventDownloadProgressOccurs when a BitmapDecoder has made progress downloading bitmap content. (Inherited from BitmapDecoder.)
Top

The following table list the PixelFormats that are supported by the JpegBitmapDecoder class.

Supplied PixelFormat

Decodes to PixelFormat

Gray8

Gray8

Rgb24

Rgb24

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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