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

System.Drawing.Image

An abstract base class that provides functionality for the Bitmap and Metafile descended classes.
namespace System.Drawing { public abstract class Image : MarshalByRefObject, ICloneable, IDisposable, ISerializable { [System.Runtime.CompilerServices.NullableContext(0)] public delegate bool GetThumbnailImageAbort (); public int Flags { get; } public Guid[] FrameDimensionsList { get; } public int Height { get; } public float HorizontalResolution { get; } public ColorPalette Palette { get; set; } public SizeF PhysicalDimension { get; } public PixelFormat PixelFormat { get; } public int[] PropertyIdList { get; } public PropertyItem[] PropertyItems { get; } public ImageFormat RawFormat { get; } public Size Size { get; } public object Tag { get; set; } public float VerticalResolution { get; } public int Width { get; } public object Clone(); public void Dispose(); protected virtual void Dispose(bool disposing); public static Image FromFile(string filename); public static Image FromFile(string filename, bool useEmbeddedColorManagement); public static Bitmap FromHbitmap(IntPtr hbitmap); public static Bitmap FromHbitmap(IntPtr hbitmap, IntPtr hpalette); public static Image FromStream(Stream stream); public static Image FromStream(Stream stream, bool useEmbeddedColorManagement); public static Image FromStream(Stream stream, bool useEmbeddedColorManagement, bool validateImageData); public RectangleF GetBounds(ref GraphicsUnit pageUnit); public EncoderParameters GetEncoderParameterList(Guid encoder); public int GetFrameCount(FrameDimension dimension); public static int GetPixelFormatSize(PixelFormat pixfmt); public PropertyItem GetPropertyItem(int propid); public Image GetThumbnailImage(int thumbWidth, int thumbHeight, GetThumbnailImageAbort callback, IntPtr callbackData); public static bool IsAlphaPixelFormat(PixelFormat pixfmt); public static bool IsCanonicalPixelFormat(PixelFormat pixfmt); public static bool IsExtendedPixelFormat(PixelFormat pixfmt); public void RemovePropertyItem(int propid); public void RotateFlip(RotateFlipType rotateFlipType); public void Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams); public void Save(Stream stream, ImageFormat format); public void Save(string filename); public void Save(string filename, ImageCodecInfo encoder, EncoderParameters encoderParams); public void Save(string filename, ImageFormat format); public void SaveAdd(Image image, EncoderParameters encoderParams); public void SaveAdd(EncoderParameters encoderParams); public int SelectActiveFrame(FrameDimension dimension, int frameIndex); public void SetPropertyItem(PropertyItem propitem); } }