/// <summary> /// used to check if the file is supported by Gdal /// </summary> /// <param name="sPathFileName"></param> /// <returns></returns> public static bool IsValidImage(string sPathFileName) { return(Gdal.IdentifyDriver(sPathFileName, null) == null ? false : true); }