You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In one of our UnitTests we now get a SixLabors.ImageSharp.UnknownImageFormatException on parsing an msg file with a rtf formatted body.
With version 4.3.2 this was not an issue.
To Reproduce
Using the test msg file in 20 Testdokument Zeile 20.zip we use a simple new Storage.Message(MsgWithRtfBody);
Expected behavior
The expected behavior is that the created message object has a filled BodyRtf property
Stacktrace
SixLabors.ImageSharp.UnknownImageFormatException
Image cannot be loaded. Available decoders:- BMP : BmpDecoder
- TGA : TgaDecoder
- JPEG : JpegDecoder
- GIF : GifDecoder
- PNG : PngDecoder
- Webp : WebpDecoder
- TIFF : TiffDecoder
- PBM : PbmDecoder
at SixLabors.ImageSharp.Image.Load(Configurationconfiguration,Streamstream,IImageFormat&format)
at SixLabors.ImageSharp.Image.Load(Configurationconfiguration,Streamstream)
at SixLabors.ImageSharp.Image.Load(Streamstream)
at MsgReader.Outlook.Storage.Attachment.SaveImageAsPng(Int32bufferOffset)
at MsgReader.Outlook.Storage.Attachment..ctor(Storagemessage,StringstorageName)
at MsgReader.Outlook.Storage.Message.LoadAttachmentStorage(CFStoragestorage,StringstorageName)
at MsgReader.Outlook.Storage.Message.LoadStorage(CFStoragestorage)
at MsgReader.Outlook.Storage..ctor(StringstorageFilePath,FileAccessfileAccess)
at MsgReader.Outlook.Storage.Message..ctor(Stringmsgfile,FileAccessfileAccess)
Used Target Framework
net6.0
The text was updated successfully, but these errors were encountered:
I'll try to look into it tomorrow. I had to replace Microsoft MUAI with ImageSharp to fix another problem. I did not have any issues with my testcases so I have to figure out where this is comming from.
I would suggest to revert back to previous version as a temporary solution, it should work fine with .net 6.0 but gives reference errors with lower .NET versions because of a bug in MUAI
Describe the bug
In one of our UnitTests we now get a SixLabors.ImageSharp.UnknownImageFormatException on parsing an msg file with a rtf formatted body.
With version 4.3.2 this was not an issue.
To Reproduce
Using the test msg file in 20 Testdokument Zeile 20.zip we use a simple
new Storage.Message(MsgWithRtfBody);
Expected behavior
The expected behavior is that the created message object has a filled BodyRtf property
Stacktrace
Used Target Framework
net6.0
The text was updated successfully, but these errors were encountered: