From f37ee1e146577b748b053659bcce10ddc7b057c8 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Tue, 25 Oct 2022 15:52:41 -0400 Subject: [PATCH] remove imagesharp recommendation The recent license changes for ImageSharp could be a risk item for customers adopting it. For that reason, we should not recommend it. See [SixLabors announcement](https://sixlabors.com/posts/license-changes/) and the resulting [blog post from the .NET Foundation](https://dotnetfoundation.org/blog/2022/10/20/imagesharpupdate) --- includes/drawing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/drawing.md b/includes/drawing.md index e81ec514783..54c99e52794 100644 --- a/includes/drawing.md +++ b/includes/drawing.md @@ -8,5 +8,5 @@ > - In .NET 5 and previous versions, the [System.Drawing.Common](https://www.nuget.org/packages/System.Drawing.Common/) NuGet package works on Windows, Linux, and macOS. However, there are some platform differences. On Linux and macOS, the GDI+ functionality is implemented by the [libgdiplus)](https://www.mono-project.com/docs/gui/libgdiplus/) library. This library is not installed by default in most Linux distributions and doesn't support all the functionality of GDI+ on Windows and macOS. There are also platforms where libgdiplus is not available at all. To use types from the System.Drawing.Common package on Linux and macOS, you must install libgdiplus separately. For more information, see [Install .NET on Linux](/dotnet/core/install/linux) or [Install .NET on macOS](/dotnet/core/install/macos#libgdiplus). > > - In .NET 6 and later versions, the [System.Drawing.Common](https://www.nuget.org/packages/System.Drawing.Common/) NuGet package is only supported on Windows operating systems. For more information, see [System.Drawing.Common only supported on Windows](/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only). -> -> If you can't use `System.Drawing` with your application, recommended alternatives include [ImageSharp](https://github.com/SixLabors/ImageSharp), [SkiaSharp](https://github.com/mono/SkiaSharp), [Windows Imaging Components](/windows/desktop/wic/-wic-about-windows-imaging-codec), and [Microsoft.Maui.Graphics](https://github.com/dotnet/Microsoft.Maui.Graphics). +> +> If you can't use `System.Drawing` with your application, recommended alternatives include [SkiaSharp](https://github.com/mono/SkiaSharp), [Windows Imaging Components](/windows/desktop/wic/-wic-about-windows-imaging-codec), and [Microsoft.Maui.Graphics](https://github.com/dotnet/Microsoft.Maui.Graphics).