Method | Description | |
---|---|---|
GetImage ( byte buffer ) : System.Windows.Media.Imaging.WriteableBitmap |
Gets an image from storage
|
|
GetSaveBuffer ( System.Windows.Media.Imaging.WriteableBitmap bitmap ) : byte[] |
Gets the buffer to save to disk from the writeable bitmap
|
|
ImgFromBase64 ( byte byteArray ) : |
||
LoadIfExists ( string fileName ) : byte[] | ||
SaveToDisk ( byte buffer, string fileName ) : void |
Saves to isolated storage
|
public static GetImage ( byte buffer ) : System.Windows.Media.Imaging.WriteableBitmap | ||
buffer | byte | |
return | System.Windows.Media.Imaging.WriteableBitmap |
public static GetSaveBuffer ( System.Windows.Media.Imaging.WriteableBitmap bitmap ) : byte[] | ||
bitmap | System.Windows.Media.Imaging.WriteableBitmap | The bitmap image |
return | byte[] |
public static ImgFromBase64 ( byte byteArray ) : |
||
byteArray | byte | |
return |
public static LoadIfExists ( string fileName ) : byte[] | ||
fileName | string | |
return | byte[] |
public static SaveToDisk ( byte buffer, string fileName ) : void | ||
buffer | byte | The buffer |
fileName | string | |
return | void |