ImageCodecInfo

ImageCodecInfo

System.Drawing.Imaging (system.drawing.dll) sealed class

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  (); } 

Passed To

System.Drawing.Image.Save()



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net