PictureDecoder Class
Collapse the table of content
Expand the table of content

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.


Namespace:  Microsoft.Phone
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public static class PictureDecoder

Public methodStatic memberDecodeJpeg(Stream)Decodes a JPEG into a WriteableBitmap object.
Public methodStatic memberDecodeJpeg(Stream, Int32, Int32)Decodes a JPEG file into a WriteableBitmap object, with parameters for setting the maximum height and width of the output.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

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

© 2017 Microsoft