Note:

  • The System.Drawing namespace is not recommended for new development, because it’s not supported within Windows services, ASP.NET Core, and ASP.NET. Attempting to use System.Drawing classes within one of these application types may result in run-time exceptions and diminished service performance. Recommended alternatives include ImageSharpSkiaSharp, and Windows Imaging Components.
  • On Windows, System.Drawing depends on the GDI+ native library, which is shipped as part of the OS. Some Windows SKUs, like Windows Server Core or Windows Nano, don’t include this native library as part of the OS. Exceptions will be thrown at run time because the library can’t be loaded.

Third Party Products

https://sixlabors.com/products/imagesharp/

Sources:

https://docs.microsoft.com/en-us/dotnet/api/system.drawing?view=net-5.0

Last modified: March 28, 2021

Author

Comments

Write a Reply or Comment