Exemplo n.º 1
0
		public static String ConvertBitmapSourceToDataString(BitmapSource bitmapSourceInstance)
			{
			return "data:image/jpeg;base64," + bitmapSourceInstance.ConvertTo_JpgByteArray(100)
						.ConvertTo_Base64(Base64FormattingOptions.None);
//				Convert.ToBase64String(ConvertBitmapSourceToJPegStream(bitmapSourceInstance).ToArray());
			}