Extensions.LoadJpeg Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Decodes a JPEG stream into a WriteableBitmap object.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Parameters
- bitmap
- Type: System.Windows.Media.Imaging.WriteableBitmap
The WriteableBitmap object.
- sourceStream
- Type: System.IO.Stream
The image data stream.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type WriteableBitmap. When you use instance method syntax to call this method, omit the first parameter.
Show:
Note: