<PackageReference Include="System.Drawing.Common" Version="10.0.4" />

System.Private.Windows.Graphics.IBitmap

interface IBitmap
Platform agnostic interface for a bitmap.
namespace System.Private.Windows.Graphics { internal interface IBitmap { Size Size { get; } HBITMAP GetHbitmap(); } }