When calling Bitmap.SetResolution() I get the following error on a Mac:
Exception:System.ArgumentException: Parameter is not valid.
at System.Drawing.SafeNativeMethods.Gdip.CheckStatus(Int32 status)
at System.Drawing.Bitmap.SetResolution(Single xDpi, Single yDpi)
at StreamDeck_Midi.ImageController.ResizeImage(Image image, Int32 width, Int32 height) in C:\Projects\StreamDeck-Midi - Core\StreamDeck-Midi\Translation\ImageController.cs:line 424
at StreamDeck_Midi.ImageController.GetCustomSliderImage(String baseImagePath, String sliderImagePath, Int32 positionPercent, eFaderButtonType FaderButtonType, Int32 paddingTop, Int32 paddingBottom, String& newbaseImagePath, String& newsliderImagePath) in C:\Projects\StreamDeck-Midi - Core\StreamDeck-Midi\Translation\ImageController.cs:line 341
The call works without problems in Windows.
I'm confused by the state of this project.
I'm using the latest release Nuget package (5.8.64) that is published June 26, 2019, but according to this page, there are "No releases published" and "No packages published"? Looking at the build.yaml, there should be a version 6.0.5, but it's not available at Nuget(?)