///<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)); }
///<summary> /// Returns the format information. The extension of the supplied file is used to determine /// the format. ///</summary> /// <param name="file">The file to check.</param> public static MagickFormatInfo Create(FileInfo file) { return(MagickNET.GetFormatInformation(file)); }
private static MagickFormat GetModule(MagickFormat format) { MagickFormatInfo formatInfo = MagickNET.GetFormatInformation(format); return(formatInfo.Module); }