<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.2.26159.112" />

System.Drawing.Bitmap

public sealed class Bitmap : Image, IPointer<GpBitmap>, IBitmap
Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes. A Bitmap is an object used to work with images defined by pixel data.
namespace System.Drawing { public sealed class Bitmap : Image { IntPtr Pointer { get; } public Bitmap(string filename); public Bitmap(string filename, bool useIcm); public Bitmap(Stream stream); public Bitmap(Stream stream, bool useIcm); public Bitmap(Type type, string resource); public Bitmap(int width, int height); public Bitmap(int width, int height, Graphics g); public Bitmap(int width, int height, int stride, PixelFormat format, IntPtr scan0); public Bitmap(int width, int height, PixelFormat format); public Bitmap(Image original); public Bitmap(Image original, Size newSize); public Bitmap(Image original, int width, int height); public static Bitmap FromHicon(IntPtr hicon); public static Bitmap FromResource(IntPtr hinstance, string bitmapName); public IntPtr GetHbitmap(); HBITMAP GetHbitmap(); public IntPtr GetHbitmap(Color background); public IntPtr GetHicon(); public Bitmap Clone(RectangleF rect, PixelFormat format); public void MakeTransparent(); public void MakeTransparent(Color transparentColor); public BitmapData LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format); public BitmapData LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format, BitmapData bitmapData); public void UnlockBits(BitmapData bitmapdata); public Color GetPixel(int x, int y); public void SetPixel(int x, int y, Color color); public void SetResolution(float xDpi, float yDpi); public Bitmap Clone(Rectangle rect, PixelFormat format); public void ApplyEffect(Effect effect, Rectangle area = default(Rectangle)); public void ConvertFormat(PixelFormat format, DitherType ditherType, PaletteType paletteType = PaletteType.Custom, ColorPalette palette = null, float alphaThresholdPercent = 0); public void ConvertFormat(PixelFormat format); } }