C# Class NDG.Helpers.Classes.ImageStringBase64Converter

Helper for converting Image to Base64 String (store answers to Image questions in such format)
Mostrar archivo Open project: nokiadatagathering/WP7-Official

Public Methods

Method Description
GetImageFromStringBase64 ( string imageString ) : BitmapImage
GetStringBase64FromImage ( BitmapImage bitmapImage, int width, int height ) : string

Method Details

GetImageFromStringBase64() public method

public GetImageFromStringBase64 ( string imageString ) : BitmapImage
imageString string
return System.Windows.Media.Imaging.BitmapImage

GetStringBase64FromImage() public method

public GetStringBase64FromImage ( BitmapImage bitmapImage, int width, int height ) : string
bitmapImage System.Windows.Media.Imaging.BitmapImage
width int
height int
return string