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

System.Drawing.Imaging.ImageCodecInfo

public sealed class ImageCodecInfo
The ImageCodecInfo class provides the necessary storage members and methods to retrieve all pertinent information about the installed image encoders and decoders (called codecs). Not inheritable.
namespace System.Drawing.Imaging { public sealed class ImageCodecInfo { public Guid Clsid { get; set; } public Guid FormatID { get; set; } public string CodecName { get; set; } public string DllName { get; set; } public string FormatDescription { get; set; } public string FilenameExtension { get; set; } public string MimeType { get; set; } public ImageCodecFlags Flags { get; set; } public int Version { get; set; } public byte[][] SignaturePatterns { get; set; } public byte[][] SignatureMasks { get; set; } public static ImageCodecInfo[] GetImageDecoders(); public static ImageCodecInfo[] GetImageEncoders(); } }