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.DecodeJpeg Method

[ 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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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