Represents image data returned by a decoder and accepted by encoders.
Assembly: PresentationCore (in PresentationCore.dll)
provides additional functionality not defined by BitmapSource by providing access to the Thumbnail associated with a particular frame of an image. also supports the writing of metadata information by using the Metadata property or the CreateInPlaceBitmapMetadataWriter method.
Any returned from a decoder is always frozen. If you require a modifiable copy, you must first create a copy of the by using the Clone method.
Only Tagged Image File Format (TIFF) and Graphics Interchange Format (GIF) format images support multiple frames.
The following code example demonstrates how to create a new BitmapSource by using a .
The following code example demonstrates how to use the object to open a Portable Network Graphics (PNG) graphic and write metadata by using the CreateInPlaceBitmapMetadataWriter method.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.