Closed ShantoLives closed 1 year ago
Describe the bug PlatformImage.FromStream(stream, formatHint) is not supported on windows (per https://learn.microsoft.com/en-us/dotnet/maui/user-interface/graphics/images?view=net-maui-7.0)
This issue (https://github.com/dotnet/maui/issues/6742) suggests calling W2DImage.FromStream(stream, formatHint) instead on Windows
Desktop (please complete the following information):
I eventually solved it like this because your suggested solution does not work on .net version lower then 7
Describe the bug PlatformImage.FromStream(stream, formatHint) is not supported on windows (per https://learn.microsoft.com/en-us/dotnet/maui/user-interface/graphics/images?view=net-maui-7.0)
This issue (https://github.com/dotnet/maui/issues/6742) suggests calling W2DImage.FromStream(stream, formatHint) instead on Windows
Desktop (please complete the following information):