public async Task <ImageDataResult> GetImageDetails(byte[] image) { WriteableBitmap bitmapImage = await image.ToBitmapImageAsync(); ImageDataResult data = new ImageDataResult { Width = bitmapImage.PixelWidth, Heigth = bitmapImage.PixelHeight }; return(data); }
public async Task <ImageDataResult> GetImageDetails(byte[] image) { UIKit.UIImage uiImage = await image.ToImageAsync(); ImageDataResult data = new ImageDataResult { Width = (int)uiImage.Size.Width, Heigth = (int)uiImage.Size.Height }; return(data); }
public async Task <ImageDataResult> GetImageDetails(byte[] image) { Bitmap bmpImage = await image.ToBitmapAsync(); ImageDataResult data = new ImageDataResult { Width = bmpImage.Width, Heigth = bmpImage.Height }; return(data); }