ImageMagick.MagickNET.GetFormatInformation C# (CSharp) Метод

GetFormatInformation() публичный статический Метод

Returns the format information of the specified format based on the extension of the file.
public static GetFormatInformation ( FileInfo file ) : MagickFormatInfo
file System.IO.FileInfo The file to get the format for.
Результат MagickFormatInfo
    public static MagickFormatInfo GetFormatInformation(FileInfo file)
    {
      return MagickFormatInfo.Create(file);
    }

Same methods

MagickNET::GetFormatInformation ( MagickFormat format ) : MagickFormatInfo
MagickNET::GetFormatInformation ( string fileName ) : MagickFormatInfo

Usage Example

Пример #1
0
 ///<summary>
 /// Returns the format information of the specified format.
 ///</summary>
 ///<param name="format">The image format.</param>
 public static MagickFormatInfo Create(MagickFormat format)
 {
     return(MagickNET.GetFormatInformation(format));
 }
All Usage Examples Of ImageMagick.MagickNET::GetFormatInformation