DecodeJpeg Method (Stream)
Collapse the table of content
Expand the table of content

PictureDecoder.DecodeJpeg Method (Stream)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Decodes a JPEG into a WriteableBitmap object.

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

public static WriteableBitmap DecodeJpeg(
	Stream source
)

Parameters

source
Type: System.IO.Stream
The image data stream.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft