PictureDecoder.DecodeJpeg Method (Stream, Int32, Int32)

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

Syntax

'Declaration
Public Shared Function DecodeJpeg ( _
    source As Stream, _
    maxPixelWidth As Integer, _
    maxPixelHeight As Integer _
) As WriteableBitmap
public static WriteableBitmap DecodeJpeg(
    Stream source,
    int maxPixelWidth,
    int maxPixelHeight
)
public:
static WriteableBitmap^ DecodeJpeg(
    Stream^ source, 
    int maxPixelWidth, 
    int maxPixelHeight
)
static member DecodeJpeg : 
        source:Stream * 
        maxPixelWidth:int * 
        maxPixelHeight:int -> WriteableBitmap

Parameters

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

See Also

Reference

PictureDecoder Class

DecodeJpeg Overload

Microsoft.Phone Namespace