GetStream from Image

Jassim Al Rahma 1,616 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

Developer technologies .NET .NET MAUI
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.