private async void loadImageOnPage(byte[] image) { ImageSource imageSource = ImageSource.FromStream(() => { return(new MemoryStream(image)); }); imDisplay.Source = imageSource; string[] imageInformation = await imageLoader.GetImageDetails(image); lbWidth.Text = "Width " + imageInformation[0]; lbHeight.Text = "Heigth " + imageInformation[1]; lbArrayLength.Text = "Array Length " + imageInformation[2]; }