PictureDecoder.DecodeJpeg Method (Stream)
Namespace: Microsoft.Phone
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
Public Shared Function DecodeJpeg ( _
source As Stream _
) As WriteableBitmap
public static WriteableBitmap DecodeJpeg(
Stream source
)
public:
static WriteableBitmap^ DecodeJpeg(
Stream^ source
)
static member DecodeJpeg :
source:Stream -> WriteableBitmap
Parameters
- source
Type: System.IO.Stream
Return Value
Type: System.Windows.Media.Imaging.WriteableBitmap
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.