Describe the bug
When starting the program in a wine64 prefix with dotnetdesktop6 (6.0.13) installed via winetricks:
System.ArgumentException: A Graphics object cannot be created from an image that has an indexed pixel format. (Parameter 'image')
at System.Drawing.Graphics.FromImage(Image image)
at Mids_Reborn.Core.Base.Display.ExtendedBitmap.Initialize(String file)
at Mids_Reborn.Core.I9Gfx.LoadOriginImages(IReadOnlyCollection`1 images)
at Mids_Reborn.Core.I9Gfx.LoadImages()
at Mids_Reborn.MainModule.MidsController.LoadGraphics(String path)
at Mids_Reborn.MainModule.MidsController.LoadData(IMessenger messenger, String path)
at Mids_Reborn.MainModule.MidsController.SelectDefaultDatabase(Loader iFrm)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
To Reproduce
Steps to reproduce the behavior:
Start program via wine on linux (arch).
Expected behavior
Program opens.
Screenshots
An error dialog with the following text:
Describe the bug When starting the program in a wine64 prefix with dotnetdesktop6 (6.0.13) installed via winetricks:
To Reproduce Steps to reproduce the behavior: Start program via wine on linux (arch).
Expected behavior Program opens.
Screenshots An error dialog with the following text:
Desktop (please complete the following information):
Additional context wine 8.21 kernel 6.6.5-zen dotnetdesktop6 6.0.13