<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.6.25358.103" />

Gdip

static class Gdip
using System.Collections.Generic; using System.Runtime.CompilerServices; using Windows.Win32.Graphics.GdiPlus; namespace System.Drawing { [NullableContext(1)] [Nullable(0)] internal static class Gdip { [Nullable(new byte[] { 2, 1, 1 })] [ThreadStatic] private static IDictionary<object, object> t_threadData; internal static bool Initialized => GdiPlusInitialization.IsInitialized; internal static IDictionary<object, object> ThreadData => t_threadData ?? (t_threadData = new Dictionary<object, object>()); internal static void CheckStatus(Status status) { status.ThrowIfFailed(); } internal static Exception StatusException(Status status) { return status.GetException(); } } }