Class ImageCodecInfo

ImageCodecInfo class

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 sealed class ImageCodecInfo

Properties

NameDescription
Clsid { get; set; }Gets or sets a Guid structure that contains a GUID that identifies a specific codec.
CodecName { get; set; }Gets or sets a string that contains the name of the codec.
FilenameExtension { get; set; }Gets or sets string that contains the file name extension(s) used in the codec. The extensions are separated by semicolons.
FormatDescription { get; set; }Gets or sets a string that describes the codec’s file format.
FormatID { get; set; }Gets or sets a Guid structure that contains a GUID that identifies the codec’s format.
MimeType { get; set; }Gets or sets a string that contains the codec’s Multipurpose Internet Mail Extensions (MIME) type.
SignatureMasks { get; set; }Gets or sets a two dimensional array of bytes that can be used as a filter.
SignaturePatterns { get; set; }Gets or sets a two dimensional array of bytes that represents the signature of the codec.
Version { get; set; }Gets or sets the version number of the codec.

Methods

NameDescription
static GetImageDecoders()Returns an array of ImageCodecInfo objects that contain information about the image decoders built into GDI+.
static GetImageEncoders()Returns an array of ImageCodecInfo objects that contain information about the image encoders built into GDI+.

See Also