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

System.Drawing.Imaging.ImageFormat

public sealed class ImageFormat
Specifies the file format of the image. Not inheritable.
namespace System.Drawing.Imaging { public sealed class ImageFormat { public Guid Guid { get; } public static ImageFormat MemoryBmp { get; } public static ImageFormat Bmp { get; } public static ImageFormat Emf { get; } public static ImageFormat Wmf { get; } public static ImageFormat Gif { get; } public static ImageFormat Jpeg { get; } public static ImageFormat Png { get; } public static ImageFormat Tiff { get; } public static ImageFormat Exif { get; } public static ImageFormat Icon { get; } public static ImageFormat Heif { get; } public static ImageFormat Webp { get; } public ImageFormat(Guid guid); } }