GetStream from Image

Jassim Al Rahma 1,526 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.
2,976 questions
{count} votes