Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PictureDecoder Class

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.

© 2015 Microsoft