GetStream from Image

Jassim Al Rahma 1,556 Reputation points
2023-04-10T15:44:51.2133333+00:00

Hi, How can I GetStream from .NET MAUI Image in code-behind like this:

var imageContent = new StreamContent(await ImageProfile.GetStream());

Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
{count} votes