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

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.
public Guid Clsid { get; set; }

Gets or sets a Guid structure that contains a GUID that identifies a specific codec.

public string CodecName { get; set; }

Gets or sets a string that contains the name of the codec.

public string DllName { get; set; }

Gets or sets string that contains the path name of the DLL that holds the codec. If the codec is not in a DLL, this pointer is null.

public string FilenameExtension { get; set; }

Gets or sets string that contains the file name extension(s) used in the codec. The extensions are separated by semicolons.

public ImageCodecFlags Flags { get; set; }

Gets or sets 32-bit value used to store additional information about the codec. This property returns a combination of flags from the ImageCodecFlags enumeration.

public string FormatDescription { get; set; }

Gets or sets a string that describes the codec's file format.

public Guid FormatID { get; set; }

Gets or sets a Guid structure that contains a GUID that identifies the codec's format.

public string MimeType { get; set; }

Gets or sets a string that contains the codec's Multipurpose Internet Mail Extensions (MIME) type.

public byte[][] SignatureMasks { get; set; }

Gets or sets a two dimensional array of bytes that can be used as a filter.

public byte[][] SignaturePatterns { get; set; }

Gets or sets a two dimensional array of bytes that represents the signature of the codec.

public int Version { get; set; }

Gets or sets the version number of the codec.

public static ImageCodecInfo[] GetImageDecoders()

Returns an array of ImageCodecInfo objects that contain information about the image decoders built into GDI+.

public static ImageCodecInfo[] GetImageEncoders()

Returns an array of ImageCodecInfo objects that contain information about the image encoders built into GDI+.