.NET Core and System.Drawing

I know this is old, but there is now a port of the library called System.Drawing.Common. Try installing that one with NuGet.

To make this possible, there is a metapackage called Windows Compatibility Pack. However, this metapackage includes many, many Windows related APIs (distributed as packages).

Source: https://developers.de/2018/01/22/how-to-use-system-drawing-in-net-core/


Add NuGet reference Microsoft.Windows.Compatibility

Notice: mark "Include prerelease"

Of course, it works only if prerelease packages are OK for you.