March 2003
Intermediate to advanced
896 pages
32h 35m
English
ImageCodecInfo
This class encapsulates information about the installed image codecs (components that can encode and decode images for storage).
Typically, you will use the static GetImageDecoders() and GetImageEncoders() methods to
retrieve the installed encoders or decoders. You can then enumerate
those lists to look for a codec that matches your requirements. You
might compare against the MimeType of the codec,
the CodecName, or the
FormatDescription (a textual description of the
file format).
public sealed class ImageCodecInfo { // Public Instance Properties public Guid Clsid{set; get; } public string CodecName{set; get; } public string DllName{set; get; } public string FilenameExtension{set; get; } public ImageCodecFlags Flags{set; get; } public string FormatDescription{set; get; } public Guid FormatID{set; get; } public string MimeType{set; get; } public byte[ ][ ] SignatureMasks{set; get; } public byte[ ][ ] SignaturePatterns{set; get; } public int Version{set; get; } // Public Static Methods public static ImageCodecInfo[ ] GetImageDecoders(); public static ImageCodecInfo[ ] GetImageEncoders(); }
System.Drawing.Image.Save()
Read now
Unlock full access