Sicos1977 / MSGReader

C# Outlook MSG file reader without the need for Outlook
http://sicos1977.github.io/MSGReader
MIT License
476 stars 168 forks source link

PlatformImage.FromStream(stream, formatHint) is not supported on windows #337

Closed ShantoLives closed 1 year ago

ShantoLives commented 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):

Sicos1977 commented 1 year ago

I eventually solved it like this because your suggested solution does not work on .net version lower then 7

image