public static Stream ImageToStream(CrossImage CrossImage) { ImageSource ImageSource = (ImageSource)CrossImage.Native; return(ImageSource.ImageToStream()); }
public static byte[] ImageToByte(CrossImage ImageSource) { StreamImageSource streamImageSource = (StreamImageSource)ImageSource.Native; return(streamImageSource.ImageToByte()); }