1 out of 1 rated this helpful - Rate this topic

Extensions Class

July 26, 2012

Either encode a WriteableBitmap object into a JPEG stream, or decode a JPEG stream into a WriteableBitmap object.

System.Object
  System.Windows.Media.Imaging.Extensions

Namespace:  System.Windows.Media.Imaging
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public static class Extensions

The Extensions type exposes the following members.

  NameDescription
Public methodStatic memberLoadJpegDecodes a JPEG stream into a WriteableBitmap object.
Public methodStatic memberSaveJpegEncodes a WriteableBitmap object into a JPEG stream, with parameters for setting the target width and height of the JPEG file.
Top

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.