PictureDecoder Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Decodes a JPEG file into a WriteableBitmap object.
Inheritance Hierarchy
System..::.Object
Microsoft.Phone..::.PictureDecoder
Namespace: Microsoft.Phone
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public NotInheritable Class PictureDecoder
public static class PictureDecoder
Methods
Name | Description | |
---|---|---|
DecodeJpeg(Stream) | Decodes a JPEG into a WriteableBitmap object. | |
DecodeJpeg(Stream, Int32, Int32) | Decodes a JPEG file into a WriteableBitmap object, with parameters for setting the maximum height and width of the output. |
Top
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.