91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.23MB
    文件類型: .gz
    金幣: 1
    下載: 0 次
    發布日期: 2023-10-15
  • 語言: 其他
  • 標簽: TIFF??圖像??開源????

資源簡介

LibGeotiff函數庫,眾所周知是處理TIFF圖像的首選函數庫.其和LibTiff函數庫就像搭檔一樣,提供了簡單簡便的函數操作,為處理轉化壓縮TIFF格式文件的用戶提供了極大地便利

資源截圖

代碼片段和文件信息

/******************************************************************************
?*?Copyright?(c)?1999?Frank?Warmerdam
?*
?*?Permission?is?hereby?granted?free?of?charge?to?any?person?obtaining?a
?*?copy?of?this?software?and?associated?documentation?files?(the?“Software“)
?*?to?deal?in?the?Software?without?restriction?including?without?limitation
?*?the?rights?to?use?copy?modify?merge?publish?distribute?sublicense
?*?and/or?sell?copies?of?the?Software?and?to?permit?persons?to?whom?the
?*?Software?is?furnished?to?do?so?subject?to?the?following?conditions:
?*
?*?The?above?copyright?notice?and?this?permission?notice?shall?be?included
?*?in?all?copies?or?substantial?portions?of?the?Software.
?*
?*?THE?SOFTWARE?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF?ANY?KIND?EXPRESS
?*?OR?IMPLIED?INCLUDING?BUT?NOT?LIMITED?TO?THE?WARRANTIES?OF?MERCHANTABILITY
?*?FITNESS?FOR?A?PARTICULAR?PURPOSE?AND?NONINFRINGEMENT.?IN?NO?EVENT?SHALL
?*?THE?AUTHORS?OR?COPYRIGHT?HOLDERS?BE?LIABLE?FOR?ANY?CLAIM?DAMAGES?OR?OTHER
?*?LIABILITY?WHETHER?IN?AN?ACTION?OF?CONTRACT?TORT?OR?OTHERWISE?ARISING
?*?FROM?OUT?OF?OR?IN?CONNECTION?WITH?THE?SOFTWARE?OR?THE?USE?OR?OTHER
?*?DEALINGS?IN?THE?SOFTWARE.
?******************************************************************************
?*
?*?cpl_csv.c:?Support?functions?for?accessing?CSV?files.
?*/

#include?“cpl_serv.h“
#include?“geo_tiffp.h“

/*?====================================================================?*/
/*??????The?CSVTable?is?a?persistant?set?of?info?about?an?open?CSV??????*/
/*??????table.??While?it?doesn‘t?currently?maintain?a?record?index?????*/
/*??????or?in-memory?copy?of?the?table?it?could?be?changed?to?do?so????*/
/*??????in?the?future.??????????????????????????????????????????????????*/
/*?====================================================================?*/
typedef?struct?ctb?{
????FILE????????*fp;

????struct?ctb?*psNext;

????char????????*pszFilename;

????char????????**papszFieldNames;

????char????????**papszRecFields;

????int?????????iLastLine;

????/*?Cache?for?whole?file?*/
????int?????????nLineCount;
????char????????**papszLines;
????int?????????*panLineIndex;
????char????????*pszRawData;
}?CSVTable;

static?CSVTable?*psCSVTableList?=?NULL;

/************************************************************************/
/*?????????????????????????????CSVAccess()??????????????????????????????*/
/*??????????????????????????????????????????????????????????????????????*/
/*??????This?function?will?fetch?a?handle?to?the?requested?table.???????*/
/*??????If?not?found?in?the?‘‘open?table?list‘‘?the?table?will?be???????*/
/*??????opened?and?added?to?the?list.??Eventually?this?function?may?????*/
/*??????become?public?with?an?abstracted?return?type?so?that????????????*/
/*??????applications?can?set?options?about?the?table.??For?now?this?????*/
/*??????isn‘t?done.?????????????????????????????????????????????????????*/
/************************************************************************/

static?CSVTab

評論

共有 條評論