byte[] bytes = Convert.FromBase64String(data.photoBase64); var imageMemoryStream = new MemoryStream(bytes); Image imageFromStream = Image.Fr