public void OnPhotoSubmit(object sender, EventArgs args) { // buildMyImages(); // this is a SLOOOOW function. just add the latest image byte[] raw = ((CameraContentPage)sender).latestTakenImgBytes; Image final = GlobalSingletonHelpers.buildFixedRotationImageFromBytes(raw, ExifLib.ExifOrientation.Undefined, 720, 720); if (final != null) { //myImages.Add(final); } raw = null; buildUI(); }