This documentation is archived and is not being maintained.
Extensions Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Either encode a WriteableBitmap object into a JPEG stream, or decode a JPEG stream into a WriteableBitmap object.
Namespace:
System.Windows.Media.Imaging
Assembly:
Microsoft.Phone (in Microsoft.Phone.dll)
No code example is currently available or this language may not be supported.
The Extensions type exposes the following members.
|
| Name | Description |
|---|
  | LoadJpeg | Decodes a JPEG stream into a WriteableBitmap object. |
  | SaveJpeg | Encodes a WriteableBitmap object into a JPEG stream, with parameters for setting the target width and height of the JPEG file. |
TopWindows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Any public
static (
Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.