2
0

TIFFGetField.3tiff.html 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969
  1. <!-- Creator : groff version 1.20.1 -->
  2. <!-- CreationDate: Thu May 6 13:48:43 2010 -->
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  4. "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta name="generator" content="groff -Thtml, see www.gnu.org">
  8. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  9. <meta name="Content-Style" content="text/css">
  10. <style type="text/css">
  11. p { margin-top: 0; margin-bottom: 0; vertical-align: top }
  12. pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
  13. table { margin-top: 0; margin-bottom: 0; vertical-align: top }
  14. h1 { text-align: center }
  15. </style>
  16. <title>TIFFGetField</title>
  17. </head>
  18. <body>
  19. <h1 align="center">TIFFGetField</h1>
  20. <a href="#NAME">NAME</a><br>
  21. <a href="#SYNOPSIS">SYNOPSIS</a><br>
  22. <a href="#DESCRIPTION">DESCRIPTION</a><br>
  23. <a href="#AUTOREGISTERED TAGS">AUTOREGISTERED TAGS</a><br>
  24. <a href="#RETURN VALUES">RETURN VALUES</a><br>
  25. <a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
  26. <a href="#SEE ALSO">SEE ALSO</a><br>
  27. <hr>
  28. <h2>NAME
  29. <a name="NAME"></a>
  30. </h2>
  31. <p style="margin-left:11%; margin-top: 1em">TIFFGetField,
  32. TIFFVGetField &minus; get the value(s) of a tag in an open
  33. <small>TIFF</small> file</p>
  34. <h2>SYNOPSIS
  35. <a name="SYNOPSIS"></a>
  36. </h2>
  37. <p style="margin-left:11%; margin-top: 1em"><b>#include
  38. &lt;tiffio.h&gt;</b></p>
  39. <p style="margin-left:11%; margin-top: 1em"><b>int
  40. TIFFGetField(TIFF *</b><i>tif</i><b>, ttag_t</b>
  41. <i>tag</i><b>,</b> <i>...</i><b>)</b></p>
  42. <p style="margin-left:11%; margin-top: 1em"><b>#include
  43. &lt;stdarg.h&gt;</b></p>
  44. <p style="margin-left:11%; margin-top: 1em"><b>int
  45. TIFFVGetField(TIFF *</b><i>tif</i><b>, ttag_t</b>
  46. <i>tag</i><b>, va_list</b> <i>ap</i><b>) <br>
  47. int TIFFGetFieldDefaulted(TIFF *</b><i>tif</i><b>,
  48. ttag_t</b> <i>tag</i><b>,</b> <i>...</i><b>) <br>
  49. int TIFFVGetFieldDefaulted(TIFF *</b><i>tif</i><b>,
  50. ttag_t</b> <i>tag</i><b>, va_list</b> <i>ap</i><b>)</b></p>
  51. <h2>DESCRIPTION
  52. <a name="DESCRIPTION"></a>
  53. </h2>
  54. <p style="margin-left:11%; margin-top: 1em"><b><i>TIFFGetField</i></b>
  55. returns the value of a tag or pseudo-tag associated with the
  56. the current directory of the opened <small>TIFF</small> file
  57. <i>tif</i>. (A <i>pseudo-tag</i> is a parameter that is used
  58. to control the operation of the <small>TIFF</small> library
  59. but whose value is not read or written to the underlying
  60. file.) The file must have been previously opened with
  61. <i>TIFFOpen</i>(3TIFF). The tag is identified by <i>tag</i>,
  62. one of the values defined in the include file <b>tiff.h</b>
  63. (see also the table below). The type and number of values
  64. returned is dependent on the tag being requested. The
  65. programming interface uses a variable argument list as
  66. prescribed by the <i>stdarg</i>(3) interface. The returned
  67. values should only be interpreted if <i>TIFFGetField</i>
  68. returns 1.</p>
  69. <p style="margin-left:11%; margin-top: 1em"><i>TIFFVGetField</i>
  70. is functionally equivalent to <i>TIFFGetField</i> except
  71. that it takes a pointer to a variable argument list.
  72. <i>TIFFVGetField</i> is useful for layering interfaces on
  73. top of the functionality provided by
  74. <i>TIFFGetField</i>.</p>
  75. <p style="margin-left:11%; margin-top: 1em"><i>TIFFGetFieldDefaulted</i>
  76. and <i>TIFFVGetFieldDefaulted</i> are identical to
  77. <i>TIFFGetField</i> and <i>TIFFVGetField</i>, except that if
  78. a tag is not defined in the current directory and it has a
  79. default value, then the default value is returned.</p>
  80. <p style="margin-left:11%; margin-top: 1em">The tags
  81. understood by <i>libtiff(3TIFF),</i> the number of parameter
  82. values, and the types for the returned values are shown
  83. below. The data types are specified as in C and correspond
  84. to the types used to specify tag values to
  85. <i>TIFFSetField</i>(3TIFF). Remember that
  86. <i>TIFFGetField</i> returns parameter values, so all the
  87. listed data types are pointers to storage where values
  88. should be returned. Consult the <small>TIFF</small>
  89. specification (or relevant industry specification) for
  90. information on the meaning of each tag and their possible
  91. values.</p>
  92. <table width="100%" border="0" rules="none" frame="void"
  93. cellspacing="0" cellpadding="0">
  94. <tr valign="top" align="left">
  95. <td width="11%"></td>
  96. <td width="38%">
  97. <p><i>Tag Name</i></p></td>
  98. <td width="11%"></td>
  99. <td width="28%">
  100. <p><i>Count</i></p></td>
  101. <td width="12%">
  102. </td></tr>
  103. <tr valign="top" align="left">
  104. <td width="11%"></td>
  105. <td width="38%"></td>
  106. <td width="11%"></td>
  107. <td width="28%">
  108. <p><i>Types</i></p></td>
  109. <td width="12%">
  110. <p><i>Notes</i></p></td></tr>
  111. <tr valign="top" align="left">
  112. <td width="11%"></td>
  113. <td width="38%">
  114. <p>TIFFTAG_ARTIST</p></td>
  115. <td width="11%"></td>
  116. <td width="28%">
  117. <p>1</p></td>
  118. <td width="12%">
  119. </td></tr>
  120. <tr valign="top" align="left">
  121. <td width="11%"></td>
  122. <td width="38%"></td>
  123. <td width="11%"></td>
  124. <td width="28%">
  125. <p>char**</p></td>
  126. <td width="12%">
  127. </td></tr>
  128. <tr valign="top" align="left">
  129. <td width="11%"></td>
  130. <td width="38%">
  131. <p>TIFFTAG_BADFAXLINES</p></td>
  132. <td width="11%"></td>
  133. <td width="28%">
  134. <p>1</p></td>
  135. <td width="12%">
  136. </td></tr>
  137. <tr valign="top" align="left">
  138. <td width="11%"></td>
  139. <td width="38%"></td>
  140. <td width="11%"></td>
  141. <td width="28%">
  142. <p>uint32*</p></td>
  143. <td width="12%">
  144. </td></tr>
  145. <tr valign="top" align="left">
  146. <td width="11%"></td>
  147. <td width="38%">
  148. <p>TIFFTAG_BITSPERSAMPLE</p></td>
  149. <td width="11%"></td>
  150. <td width="28%">
  151. <p>1</p></td>
  152. <td width="12%">
  153. </td></tr>
  154. <tr valign="top" align="left">
  155. <td width="11%"></td>
  156. <td width="38%"></td>
  157. <td width="11%"></td>
  158. <td width="28%">
  159. <p>uint16*</p></td>
  160. <td width="12%">
  161. </td></tr>
  162. <tr valign="top" align="left">
  163. <td width="11%"></td>
  164. <td width="38%">
  165. <p>TIFFTAG_CLEANFAXDATA</p></td>
  166. <td width="11%"></td>
  167. <td width="28%">
  168. <p>1</p></td>
  169. <td width="12%">
  170. </td></tr>
  171. <tr valign="top" align="left">
  172. <td width="11%"></td>
  173. <td width="38%"></td>
  174. <td width="11%"></td>
  175. <td width="28%">
  176. <p>uint16*</p></td>
  177. <td width="12%">
  178. </td></tr>
  179. <tr valign="top" align="left">
  180. <td width="11%"></td>
  181. <td width="38%">
  182. <p>TIFFTAG_COLORMAP</p></td>
  183. <td width="11%"></td>
  184. <td width="28%">
  185. <p>3</p></td>
  186. <td width="12%">
  187. </td></tr>
  188. <tr valign="top" align="left">
  189. <td width="11%"></td>
  190. <td width="38%"></td>
  191. <td width="11%"></td>
  192. <td width="28%">
  193. <p>uint16**</p></td>
  194. <td width="12%">
  195. <p>1&lt;&lt;BitsPerSample arrays</p></td></tr>
  196. <tr valign="top" align="left">
  197. <td width="11%"></td>
  198. <td width="38%">
  199. <p>TIFFTAG_COMPRESSION</p></td>
  200. <td width="11%"></td>
  201. <td width="28%">
  202. <p>1</p></td>
  203. <td width="12%">
  204. </td></tr>
  205. <tr valign="top" align="left">
  206. <td width="11%"></td>
  207. <td width="38%"></td>
  208. <td width="11%"></td>
  209. <td width="28%">
  210. <p>uint16*</p></td>
  211. <td width="12%">
  212. </td></tr>
  213. <tr valign="top" align="left">
  214. <td width="11%"></td>
  215. <td width="38%">
  216. <p>TIFFTAG_CONSECUTIVEBADFAXLINES</p></td>
  217. <td width="11%"></td>
  218. <td width="28%">
  219. <p>1</p></td>
  220. <td width="12%">
  221. </td></tr>
  222. <tr valign="top" align="left">
  223. <td width="11%"></td>
  224. <td width="38%"></td>
  225. <td width="11%"></td>
  226. <td width="28%">
  227. <p>uint32*</p></td>
  228. <td width="12%">
  229. </td></tr>
  230. <tr valign="top" align="left">
  231. <td width="11%"></td>
  232. <td width="38%">
  233. <p>TIFFTAG_COPYRIGHT</p></td>
  234. <td width="11%"></td>
  235. <td width="28%">
  236. <p>1</p></td>
  237. <td width="12%">
  238. </td></tr>
  239. <tr valign="top" align="left">
  240. <td width="11%"></td>
  241. <td width="38%"></td>
  242. <td width="11%"></td>
  243. <td width="28%">
  244. <p>char**</p></td>
  245. <td width="12%">
  246. </td></tr>
  247. <tr valign="top" align="left">
  248. <td width="11%"></td>
  249. <td width="38%">
  250. <p>TIFFTAG_DATATYPE</p></td>
  251. <td width="11%"></td>
  252. <td width="28%">
  253. <p>1</p></td>
  254. <td width="12%">
  255. </td></tr>
  256. <tr valign="top" align="left">
  257. <td width="11%"></td>
  258. <td width="38%"></td>
  259. <td width="11%"></td>
  260. <td width="28%">
  261. <p>uint16*</p></td>
  262. <td width="12%">
  263. </td></tr>
  264. <tr valign="top" align="left">
  265. <td width="11%"></td>
  266. <td width="38%">
  267. <p>TIFFTAG_DATETIME</p></td>
  268. <td width="11%"></td>
  269. <td width="28%">
  270. <p>1</p></td>
  271. <td width="12%">
  272. </td></tr>
  273. <tr valign="top" align="left">
  274. <td width="11%"></td>
  275. <td width="38%"></td>
  276. <td width="11%"></td>
  277. <td width="28%">
  278. <p>char**</p></td>
  279. <td width="12%">
  280. </td></tr>
  281. <tr valign="top" align="left">
  282. <td width="11%"></td>
  283. <td width="38%">
  284. <p>TIFFTAG_DOCUMENTNAME</p></td>
  285. <td width="11%"></td>
  286. <td width="28%">
  287. <p>1</p></td>
  288. <td width="12%">
  289. </td></tr>
  290. <tr valign="top" align="left">
  291. <td width="11%"></td>
  292. <td width="38%"></td>
  293. <td width="11%"></td>
  294. <td width="28%">
  295. <p>char**</p></td>
  296. <td width="12%">
  297. </td></tr>
  298. <tr valign="top" align="left">
  299. <td width="11%"></td>
  300. <td width="38%">
  301. <p>TIFFTAG_DOTRANGE</p></td>
  302. <td width="11%"></td>
  303. <td width="28%">
  304. <p>2</p></td>
  305. <td width="12%">
  306. </td></tr>
  307. <tr valign="top" align="left">
  308. <td width="11%"></td>
  309. <td width="38%"></td>
  310. <td width="11%"></td>
  311. <td width="28%">
  312. <p>uint16*</p></td>
  313. <td width="12%">
  314. </td></tr>
  315. <tr valign="top" align="left">
  316. <td width="11%"></td>
  317. <td width="38%">
  318. <p>TIFFTAG_EXTRASAMPLES</p></td>
  319. <td width="11%"></td>
  320. <td width="28%">
  321. <p>2</p></td>
  322. <td width="12%">
  323. </td></tr>
  324. <tr valign="top" align="left">
  325. <td width="11%"></td>
  326. <td width="38%"></td>
  327. <td width="11%"></td>
  328. <td width="28%">
  329. <p>uint16*,uint16**</p></td>
  330. <td width="12%">
  331. <p>count &amp; types array</p></td></tr>
  332. <tr valign="top" align="left">
  333. <td width="11%"></td>
  334. <td width="38%">
  335. <p>TIFFTAG_FAXFILLFUNC</p></td>
  336. <td width="11%"></td>
  337. <td width="28%">
  338. <p>1</p></td>
  339. <td width="12%">
  340. </td></tr>
  341. <tr valign="top" align="left">
  342. <td width="11%"></td>
  343. <td width="38%"></td>
  344. <td width="11%"></td>
  345. <td width="28%">
  346. <p>TIFFFaxFillFunc*</p></td>
  347. <td width="12%">
  348. <p>G3/G4 compression pseudo-tag</p></td></tr>
  349. <tr valign="top" align="left">
  350. <td width="11%"></td>
  351. <td width="38%">
  352. <p>TIFFTAG_FAXMODE</p></td>
  353. <td width="11%"></td>
  354. <td width="28%">
  355. <p>1</p></td>
  356. <td width="12%">
  357. </td></tr>
  358. <tr valign="top" align="left">
  359. <td width="11%"></td>
  360. <td width="38%"></td>
  361. <td width="11%"></td>
  362. <td width="28%">
  363. <p>int*</p></td>
  364. <td width="12%">
  365. <p>G3/G4 compression pseudo-tag</p></td></tr>
  366. <tr valign="top" align="left">
  367. <td width="11%"></td>
  368. <td width="38%">
  369. <p>TIFFTAG_FILLORDER</p></td>
  370. <td width="11%"></td>
  371. <td width="28%">
  372. <p>1</p></td>
  373. <td width="12%">
  374. </td></tr>
  375. <tr valign="top" align="left">
  376. <td width="11%"></td>
  377. <td width="38%"></td>
  378. <td width="11%"></td>
  379. <td width="28%">
  380. <p>uint16*</p></td>
  381. <td width="12%">
  382. </td></tr>
  383. <tr valign="top" align="left">
  384. <td width="11%"></td>
  385. <td width="38%">
  386. <p>TIFFTAG_GROUP3OPTIONS</p></td>
  387. <td width="11%"></td>
  388. <td width="28%">
  389. <p>1</p></td>
  390. <td width="12%">
  391. </td></tr>
  392. <tr valign="top" align="left">
  393. <td width="11%"></td>
  394. <td width="38%"></td>
  395. <td width="11%"></td>
  396. <td width="28%">
  397. <p>uint32*</p></td>
  398. <td width="12%">
  399. </td></tr>
  400. <tr valign="top" align="left">
  401. <td width="11%"></td>
  402. <td width="38%">
  403. <p>TIFFTAG_GROUP4OPTIONS</p></td>
  404. <td width="11%"></td>
  405. <td width="28%">
  406. <p>1</p></td>
  407. <td width="12%">
  408. </td></tr>
  409. <tr valign="top" align="left">
  410. <td width="11%"></td>
  411. <td width="38%"></td>
  412. <td width="11%"></td>
  413. <td width="28%">
  414. <p>uint32*</p></td>
  415. <td width="12%">
  416. </td></tr>
  417. <tr valign="top" align="left">
  418. <td width="11%"></td>
  419. <td width="38%">
  420. <p>TIFFTAG_HALFTONEHINTS</p></td>
  421. <td width="11%"></td>
  422. <td width="28%">
  423. <p>2</p></td>
  424. <td width="12%">
  425. </td></tr>
  426. <tr valign="top" align="left">
  427. <td width="11%"></td>
  428. <td width="38%"></td>
  429. <td width="11%"></td>
  430. <td width="28%">
  431. <p>uint16*</p></td>
  432. <td width="12%">
  433. </td></tr>
  434. <tr valign="top" align="left">
  435. <td width="11%"></td>
  436. <td width="38%">
  437. <p>TIFFTAG_HOSTCOMPUTER</p></td>
  438. <td width="11%"></td>
  439. <td width="28%">
  440. <p>1</p></td>
  441. <td width="12%">
  442. </td></tr>
  443. <tr valign="top" align="left">
  444. <td width="11%"></td>
  445. <td width="38%"></td>
  446. <td width="11%"></td>
  447. <td width="28%">
  448. <p>char**</p></td>
  449. <td width="12%">
  450. </td></tr>
  451. <tr valign="top" align="left">
  452. <td width="11%"></td>
  453. <td width="38%">
  454. <p>TIFFTAG_ICCPROFILE</p></td>
  455. <td width="11%"></td>
  456. <td width="28%">
  457. <p>2</p></td>
  458. <td width="12%">
  459. </td></tr>
  460. <tr valign="top" align="left">
  461. <td width="11%"></td>
  462. <td width="38%"></td>
  463. <td width="11%"></td>
  464. <td width="28%">
  465. <p>uint32*,void**</p></td>
  466. <td width="12%">
  467. <p>count, profile data</p></td></tr>
  468. <tr valign="top" align="left">
  469. <td width="11%"></td>
  470. <td width="38%">
  471. <p>TIFFTAG_IMAGEDEPTH</p></td>
  472. <td width="11%"></td>
  473. <td width="28%">
  474. <p>1</p></td>
  475. <td width="12%">
  476. </td></tr>
  477. <tr valign="top" align="left">
  478. <td width="11%"></td>
  479. <td width="38%"></td>
  480. <td width="11%"></td>
  481. <td width="28%">
  482. <p>uint32*</p></td>
  483. <td width="12%">
  484. </td></tr>
  485. <tr valign="top" align="left">
  486. <td width="11%"></td>
  487. <td width="38%">
  488. <p>TIFFTAG_IMAGEDESCRIPTION</p></td>
  489. <td width="11%"></td>
  490. <td width="28%">
  491. <p>1</p></td>
  492. <td width="12%">
  493. </td></tr>
  494. <tr valign="top" align="left">
  495. <td width="11%"></td>
  496. <td width="38%"></td>
  497. <td width="11%"></td>
  498. <td width="28%">
  499. <p>char**</p></td>
  500. <td width="12%">
  501. </td></tr>
  502. <tr valign="top" align="left">
  503. <td width="11%"></td>
  504. <td width="38%">
  505. <p>TIFFTAG_IMAGELENGTH</p></td>
  506. <td width="11%"></td>
  507. <td width="28%">
  508. <p>1</p></td>
  509. <td width="12%">
  510. </td></tr>
  511. <tr valign="top" align="left">
  512. <td width="11%"></td>
  513. <td width="38%"></td>
  514. <td width="11%"></td>
  515. <td width="28%">
  516. <p>uint32*</p></td>
  517. <td width="12%">
  518. </td></tr>
  519. <tr valign="top" align="left">
  520. <td width="11%"></td>
  521. <td width="38%">
  522. <p>TIFFTAG_IMAGEWIDTH</p></td>
  523. <td width="11%"></td>
  524. <td width="28%">
  525. <p>1</p></td>
  526. <td width="12%">
  527. </td></tr>
  528. <tr valign="top" align="left">
  529. <td width="11%"></td>
  530. <td width="38%"></td>
  531. <td width="11%"></td>
  532. <td width="28%">
  533. <p>uint32*</p></td>
  534. <td width="12%">
  535. </td></tr>
  536. <tr valign="top" align="left">
  537. <td width="11%"></td>
  538. <td width="38%">
  539. <p>TIFFTAG_INKNAMES</p></td>
  540. <td width="11%"></td>
  541. <td width="28%">
  542. <p>1</p></td>
  543. <td width="12%">
  544. </td></tr>
  545. <tr valign="top" align="left">
  546. <td width="11%"></td>
  547. <td width="38%"></td>
  548. <td width="11%"></td>
  549. <td width="28%">
  550. <p>char**</p></td>
  551. <td width="12%">
  552. </td></tr>
  553. <tr valign="top" align="left">
  554. <td width="11%"></td>
  555. <td width="38%">
  556. <p>TIFFTAG_INKSET</p></td>
  557. <td width="11%"></td>
  558. <td width="28%">
  559. <p>1</p></td>
  560. <td width="12%">
  561. </td></tr>
  562. <tr valign="top" align="left">
  563. <td width="11%"></td>
  564. <td width="38%"></td>
  565. <td width="11%"></td>
  566. <td width="28%">
  567. <p>uint16*</p></td>
  568. <td width="12%">
  569. </td></tr>
  570. <tr valign="top" align="left">
  571. <td width="11%"></td>
  572. <td width="38%">
  573. <p>TIFFTAG_JPEGCOLORMODE</p></td>
  574. <td width="11%"></td>
  575. <td width="28%">
  576. <p>1</p></td>
  577. <td width="12%">
  578. </td></tr>
  579. <tr valign="top" align="left">
  580. <td width="11%"></td>
  581. <td width="38%"></td>
  582. <td width="11%"></td>
  583. <td width="28%">
  584. <p>int*</p></td>
  585. <td width="12%">
  586. <p>JPEG pseudo-tag</p></td></tr>
  587. <tr valign="top" align="left">
  588. <td width="11%"></td>
  589. <td width="38%">
  590. <p>TIFFTAG_JPEGQUALITY</p></td>
  591. <td width="11%"></td>
  592. <td width="28%">
  593. <p>1</p></td>
  594. <td width="12%">
  595. </td></tr>
  596. <tr valign="top" align="left">
  597. <td width="11%"></td>
  598. <td width="38%"></td>
  599. <td width="11%"></td>
  600. <td width="28%">
  601. <p>int*</p></td>
  602. <td width="12%">
  603. <p>JPEG pseudo-tag</p></td></tr>
  604. <tr valign="top" align="left">
  605. <td width="11%"></td>
  606. <td width="38%">
  607. <p>TIFFTAG_JPEGTABLES</p></td>
  608. <td width="11%"></td>
  609. <td width="28%">
  610. <p>2</p></td>
  611. <td width="12%">
  612. </td></tr>
  613. <tr valign="top" align="left">
  614. <td width="11%"></td>
  615. <td width="38%"></td>
  616. <td width="11%"></td>
  617. <td width="28%">
  618. <p>uint32*,void**</p></td>
  619. <td width="12%">
  620. <p>count &amp; tables</p></td></tr>
  621. <tr valign="top" align="left">
  622. <td width="11%"></td>
  623. <td width="38%">
  624. <p>TIFFTAG_JPEGTABLESMODE</p></td>
  625. <td width="11%"></td>
  626. <td width="28%">
  627. <p>1</p></td>
  628. <td width="12%">
  629. </td></tr>
  630. <tr valign="top" align="left">
  631. <td width="11%"></td>
  632. <td width="38%"></td>
  633. <td width="11%"></td>
  634. <td width="28%">
  635. <p>int*</p></td>
  636. <td width="12%">
  637. <p>JPEG pseudo-tag</p></td></tr>
  638. <tr valign="top" align="left">
  639. <td width="11%"></td>
  640. <td width="38%">
  641. <p>TIFFTAG_MAKE</p></td>
  642. <td width="11%"></td>
  643. <td width="28%">
  644. <p>1</p></td>
  645. <td width="12%">
  646. </td></tr>
  647. <tr valign="top" align="left">
  648. <td width="11%"></td>
  649. <td width="38%"></td>
  650. <td width="11%"></td>
  651. <td width="28%">
  652. <p>char**</p></td>
  653. <td width="12%">
  654. </td></tr>
  655. <tr valign="top" align="left">
  656. <td width="11%"></td>
  657. <td width="38%">
  658. <p>TIFFTAG_MATTEING</p></td>
  659. <td width="11%"></td>
  660. <td width="28%">
  661. <p>1</p></td>
  662. <td width="12%">
  663. </td></tr>
  664. <tr valign="top" align="left">
  665. <td width="11%"></td>
  666. <td width="38%"></td>
  667. <td width="11%"></td>
  668. <td width="28%">
  669. <p>uint16*</p></td>
  670. <td width="12%">
  671. </td></tr>
  672. <tr valign="top" align="left">
  673. <td width="11%"></td>
  674. <td width="38%">
  675. <p>TIFFTAG_MAXSAMPLEVALUE</p></td>
  676. <td width="11%"></td>
  677. <td width="28%">
  678. <p>1</p></td>
  679. <td width="12%">
  680. </td></tr>
  681. <tr valign="top" align="left">
  682. <td width="11%"></td>
  683. <td width="38%"></td>
  684. <td width="11%"></td>
  685. <td width="28%">
  686. <p>uint16*</p></td>
  687. <td width="12%">
  688. </td></tr>
  689. <tr valign="top" align="left">
  690. <td width="11%"></td>
  691. <td width="38%">
  692. <p>TIFFTAG_MINSAMPLEVALUE</p></td>
  693. <td width="11%"></td>
  694. <td width="28%">
  695. <p>1</p></td>
  696. <td width="12%">
  697. </td></tr>
  698. <tr valign="top" align="left">
  699. <td width="11%"></td>
  700. <td width="38%"></td>
  701. <td width="11%"></td>
  702. <td width="28%">
  703. <p>uint16*</p></td>
  704. <td width="12%">
  705. </td></tr>
  706. <tr valign="top" align="left">
  707. <td width="11%"></td>
  708. <td width="38%">
  709. <p>TIFFTAG_MODEL</p></td>
  710. <td width="11%"></td>
  711. <td width="28%">
  712. <p>1</p></td>
  713. <td width="12%">
  714. </td></tr>
  715. <tr valign="top" align="left">
  716. <td width="11%"></td>
  717. <td width="38%"></td>
  718. <td width="11%"></td>
  719. <td width="28%">
  720. <p>char**</p></td>
  721. <td width="12%">
  722. </td></tr>
  723. <tr valign="top" align="left">
  724. <td width="11%"></td>
  725. <td width="38%">
  726. <p>TIFFTAG_ORIENTATION</p></td>
  727. <td width="11%"></td>
  728. <td width="28%">
  729. <p>1</p></td>
  730. <td width="12%">
  731. </td></tr>
  732. <tr valign="top" align="left">
  733. <td width="11%"></td>
  734. <td width="38%"></td>
  735. <td width="11%"></td>
  736. <td width="28%">
  737. <p>uint16*</p></td>
  738. <td width="12%">
  739. </td></tr>
  740. <tr valign="top" align="left">
  741. <td width="11%"></td>
  742. <td width="38%">
  743. <p>TIFFTAG_PAGENAME</p></td>
  744. <td width="11%"></td>
  745. <td width="28%">
  746. <p>1</p></td>
  747. <td width="12%">
  748. </td></tr>
  749. <tr valign="top" align="left">
  750. <td width="11%"></td>
  751. <td width="38%"></td>
  752. <td width="11%"></td>
  753. <td width="28%">
  754. <p>char**</p></td>
  755. <td width="12%">
  756. </td></tr>
  757. <tr valign="top" align="left">
  758. <td width="11%"></td>
  759. <td width="38%">
  760. <p>TIFFTAG_PAGENUMBER</p></td>
  761. <td width="11%"></td>
  762. <td width="28%">
  763. <p>2</p></td>
  764. <td width="12%">
  765. </td></tr>
  766. <tr valign="top" align="left">
  767. <td width="11%"></td>
  768. <td width="38%"></td>
  769. <td width="11%"></td>
  770. <td width="28%">
  771. <p>uint16*</p></td>
  772. <td width="12%">
  773. </td></tr>
  774. <tr valign="top" align="left">
  775. <td width="11%"></td>
  776. <td width="38%">
  777. <p>TIFFTAG_PHOTOMETRIC</p></td>
  778. <td width="11%"></td>
  779. <td width="28%">
  780. <p>1</p></td>
  781. <td width="12%">
  782. </td></tr>
  783. <tr valign="top" align="left">
  784. <td width="11%"></td>
  785. <td width="38%"></td>
  786. <td width="11%"></td>
  787. <td width="28%">
  788. <p>uint16*</p></td>
  789. <td width="12%">
  790. </td></tr>
  791. <tr valign="top" align="left">
  792. <td width="11%"></td>
  793. <td width="38%">
  794. <p>TIFFTAG_PHOTOSHOP</p></td>
  795. <td width="11%"></td>
  796. <td width="28%">
  797. <p>2</p></td>
  798. <td width="12%">
  799. </td></tr>
  800. <tr valign="top" align="left">
  801. <td width="11%"></td>
  802. <td width="38%"></td>
  803. <td width="11%"></td>
  804. <td width="28%">
  805. <p>uint32*,void**</p></td>
  806. <td width="12%">
  807. <p>count, data</p></td></tr>
  808. <tr valign="top" align="left">
  809. <td width="11%"></td>
  810. <td width="38%">
  811. <p>TIFFTAG_PLANARCONFIG</p></td>
  812. <td width="11%"></td>
  813. <td width="28%">
  814. <p>1</p></td>
  815. <td width="12%">
  816. </td></tr>
  817. <tr valign="top" align="left">
  818. <td width="11%"></td>
  819. <td width="38%"></td>
  820. <td width="11%"></td>
  821. <td width="28%">
  822. <p>uint16*</p></td>
  823. <td width="12%">
  824. </td></tr>
  825. <tr valign="top" align="left">
  826. <td width="11%"></td>
  827. <td width="38%">
  828. <p>TIFFTAG_PREDICTOR</p></td>
  829. <td width="11%"></td>
  830. <td width="28%">
  831. <p>1</p></td>
  832. <td width="12%">
  833. </td></tr>
  834. <tr valign="top" align="left">
  835. <td width="11%"></td>
  836. <td width="38%"></td>
  837. <td width="11%"></td>
  838. <td width="28%">
  839. <p>uint16*</p></td>
  840. <td width="12%">
  841. </td></tr>
  842. <tr valign="top" align="left">
  843. <td width="11%"></td>
  844. <td width="38%">
  845. <p>TIFFTAG_PRIMARYCHROMATICITIES</p></td>
  846. <td width="11%"></td>
  847. <td width="28%">
  848. <p>1</p></td>
  849. <td width="12%">
  850. </td></tr>
  851. <tr valign="top" align="left">
  852. <td width="11%"></td>
  853. <td width="38%"></td>
  854. <td width="11%"></td>
  855. <td width="28%">
  856. <p>float**</p></td>
  857. <td width="12%">
  858. <p>6-entry array</p></td></tr>
  859. <tr valign="top" align="left">
  860. <td width="11%"></td>
  861. <td width="38%">
  862. <p>TIFFTAG_REFERENCEBLACKWHITE</p></td>
  863. <td width="11%"></td>
  864. <td width="28%">
  865. <p>1</p></td>
  866. <td width="12%">
  867. </td></tr>
  868. <tr valign="top" align="left">
  869. <td width="11%"></td>
  870. <td width="38%"></td>
  871. <td width="11%"></td>
  872. <td width="28%">
  873. <p>float**</p></td>
  874. <td width="12%">
  875. <p>6-entry array</p></td></tr>
  876. <tr valign="top" align="left">
  877. <td width="11%"></td>
  878. <td width="38%">
  879. <p>TIFFTAG_RESOLUTIONUNIT</p></td>
  880. <td width="11%"></td>
  881. <td width="28%">
  882. <p>1</p></td>
  883. <td width="12%">
  884. </td></tr>
  885. <tr valign="top" align="left">
  886. <td width="11%"></td>
  887. <td width="38%"></td>
  888. <td width="11%"></td>
  889. <td width="28%">
  890. <p>uint16*</p></td>
  891. <td width="12%">
  892. </td></tr>
  893. <tr valign="top" align="left">
  894. <td width="11%"></td>
  895. <td width="38%">
  896. <p>TIFFTAG_RICHTIFFIPTC</p></td>
  897. <td width="11%"></td>
  898. <td width="28%">
  899. <p>2</p></td>
  900. <td width="12%">
  901. </td></tr>
  902. <tr valign="top" align="left">
  903. <td width="11%"></td>
  904. <td width="38%"></td>
  905. <td width="11%"></td>
  906. <td width="28%">
  907. <p>uint32*,void**</p></td>
  908. <td width="12%">
  909. <p>count, data</p></td></tr>
  910. <tr valign="top" align="left">
  911. <td width="11%"></td>
  912. <td width="38%">
  913. <p>TIFFTAG_ROWSPERSTRIP</p></td>
  914. <td width="11%"></td>
  915. <td width="28%">
  916. <p>1</p></td>
  917. <td width="12%">
  918. </td></tr>
  919. <tr valign="top" align="left">
  920. <td width="11%"></td>
  921. <td width="38%"></td>
  922. <td width="11%"></td>
  923. <td width="28%">
  924. <p>uint32*</p></td>
  925. <td width="12%">
  926. </td></tr>
  927. <tr valign="top" align="left">
  928. <td width="11%"></td>
  929. <td width="38%">
  930. <p>TIFFTAG_SAMPLEFORMAT</p></td>
  931. <td width="11%"></td>
  932. <td width="28%">
  933. <p>1</p></td>
  934. <td width="12%">
  935. </td></tr>
  936. <tr valign="top" align="left">
  937. <td width="11%"></td>
  938. <td width="38%"></td>
  939. <td width="11%"></td>
  940. <td width="28%">
  941. <p>uint16*</p></td>
  942. <td width="12%">
  943. </td></tr>
  944. <tr valign="top" align="left">
  945. <td width="11%"></td>
  946. <td width="38%">
  947. <p>TIFFTAG_SAMPLESPERPIXEL</p></td>
  948. <td width="11%"></td>
  949. <td width="28%">
  950. <p>1</p></td>
  951. <td width="12%">
  952. </td></tr>
  953. <tr valign="top" align="left">
  954. <td width="11%"></td>
  955. <td width="38%"></td>
  956. <td width="11%"></td>
  957. <td width="28%">
  958. <p>uint16*</p></td>
  959. <td width="12%">
  960. </td></tr>
  961. <tr valign="top" align="left">
  962. <td width="11%"></td>
  963. <td width="38%">
  964. <p>TIFFTAG_SMAXSAMPLEVALUE</p></td>
  965. <td width="11%"></td>
  966. <td width="28%">
  967. <p>1</p></td>
  968. <td width="12%">
  969. </td></tr>
  970. <tr valign="top" align="left">
  971. <td width="11%"></td>
  972. <td width="38%"></td>
  973. <td width="11%"></td>
  974. <td width="28%">
  975. <p>double*</p></td>
  976. <td width="12%">
  977. </td></tr>
  978. <tr valign="top" align="left">
  979. <td width="11%"></td>
  980. <td width="38%">
  981. <p>TIFFTAG_SMINSAMPLEVALUE</p></td>
  982. <td width="11%"></td>
  983. <td width="28%">
  984. <p>1</p></td>
  985. <td width="12%">
  986. </td></tr>
  987. <tr valign="top" align="left">
  988. <td width="11%"></td>
  989. <td width="38%"></td>
  990. <td width="11%"></td>
  991. <td width="28%">
  992. <p>double*</p></td>
  993. <td width="12%">
  994. </td></tr>
  995. <tr valign="top" align="left">
  996. <td width="11%"></td>
  997. <td width="38%">
  998. <p>TIFFTAG_SOFTWARE</p></td>
  999. <td width="11%"></td>
  1000. <td width="28%">
  1001. <p>1</p></td>
  1002. <td width="12%">
  1003. </td></tr>
  1004. <tr valign="top" align="left">
  1005. <td width="11%"></td>
  1006. <td width="38%"></td>
  1007. <td width="11%"></td>
  1008. <td width="28%">
  1009. <p>char**</p></td>
  1010. <td width="12%">
  1011. </td></tr>
  1012. <tr valign="top" align="left">
  1013. <td width="11%"></td>
  1014. <td width="38%">
  1015. <p>TIFFTAG_STONITS</p></td>
  1016. <td width="11%"></td>
  1017. <td width="28%">
  1018. <p>1</p></td>
  1019. <td width="12%">
  1020. </td></tr>
  1021. <tr valign="top" align="left">
  1022. <td width="11%"></td>
  1023. <td width="38%"></td>
  1024. <td width="11%"></td>
  1025. <td width="28%">
  1026. <p>double**</p></td>
  1027. <td width="12%">
  1028. </td></tr>
  1029. <tr valign="top" align="left">
  1030. <td width="11%"></td>
  1031. <td width="38%">
  1032. <p>TIFFTAG_STRIPBYTECOUNTS</p></td>
  1033. <td width="11%"></td>
  1034. <td width="28%">
  1035. <p>1</p></td>
  1036. <td width="12%">
  1037. </td></tr>
  1038. <tr valign="top" align="left">
  1039. <td width="11%"></td>
  1040. <td width="38%"></td>
  1041. <td width="11%"></td>
  1042. <td width="28%">
  1043. <p>uint32**</p></td>
  1044. <td width="12%">
  1045. </td></tr>
  1046. <tr valign="top" align="left">
  1047. <td width="11%"></td>
  1048. <td width="38%">
  1049. <p>TIFFTAG_STRIPOFFSETS</p></td>
  1050. <td width="11%"></td>
  1051. <td width="28%">
  1052. <p>1</p></td>
  1053. <td width="12%">
  1054. </td></tr>
  1055. <tr valign="top" align="left">
  1056. <td width="11%"></td>
  1057. <td width="38%"></td>
  1058. <td width="11%"></td>
  1059. <td width="28%">
  1060. <p>uint32**</p></td>
  1061. <td width="12%">
  1062. </td></tr>
  1063. <tr valign="top" align="left">
  1064. <td width="11%"></td>
  1065. <td width="38%">
  1066. <p>TIFFTAG_SUBFILETYPE</p></td>
  1067. <td width="11%"></td>
  1068. <td width="28%">
  1069. <p>1</p></td>
  1070. <td width="12%">
  1071. </td></tr>
  1072. <tr valign="top" align="left">
  1073. <td width="11%"></td>
  1074. <td width="38%"></td>
  1075. <td width="11%"></td>
  1076. <td width="28%">
  1077. <p>uint32*</p></td>
  1078. <td width="12%">
  1079. </td></tr>
  1080. <tr valign="top" align="left">
  1081. <td width="11%"></td>
  1082. <td width="38%">
  1083. <p>TIFFTAG_SUBIFD</p></td>
  1084. <td width="11%"></td>
  1085. <td width="28%">
  1086. <p>2</p></td>
  1087. <td width="12%">
  1088. </td></tr>
  1089. <tr valign="top" align="left">
  1090. <td width="11%"></td>
  1091. <td width="38%"></td>
  1092. <td width="11%"></td>
  1093. <td width="28%">
  1094. <p>uint16*,uint32**</p></td>
  1095. <td width="12%">
  1096. <p>count &amp; offsets array</p></td></tr>
  1097. <tr valign="top" align="left">
  1098. <td width="11%"></td>
  1099. <td width="38%">
  1100. <p>TIFFTAG_TARGETPRINTER</p></td>
  1101. <td width="11%"></td>
  1102. <td width="28%">
  1103. <p>1</p></td>
  1104. <td width="12%">
  1105. </td></tr>
  1106. <tr valign="top" align="left">
  1107. <td width="11%"></td>
  1108. <td width="38%"></td>
  1109. <td width="11%"></td>
  1110. <td width="28%">
  1111. <p>char**</p></td>
  1112. <td width="12%">
  1113. </td></tr>
  1114. <tr valign="top" align="left">
  1115. <td width="11%"></td>
  1116. <td width="38%">
  1117. <p>TIFFTAG_THRESHHOLDING</p></td>
  1118. <td width="11%"></td>
  1119. <td width="28%">
  1120. <p>1</p></td>
  1121. <td width="12%">
  1122. </td></tr>
  1123. <tr valign="top" align="left">
  1124. <td width="11%"></td>
  1125. <td width="38%"></td>
  1126. <td width="11%"></td>
  1127. <td width="28%">
  1128. <p>uint16*</p></td>
  1129. <td width="12%">
  1130. </td></tr>
  1131. <tr valign="top" align="left">
  1132. <td width="11%"></td>
  1133. <td width="38%">
  1134. <p>TIFFTAG_TILEBYTECOUNTS</p></td>
  1135. <td width="11%"></td>
  1136. <td width="28%">
  1137. <p>1</p></td>
  1138. <td width="12%">
  1139. </td></tr>
  1140. <tr valign="top" align="left">
  1141. <td width="11%"></td>
  1142. <td width="38%"></td>
  1143. <td width="11%"></td>
  1144. <td width="28%">
  1145. <p>uint32**</p></td>
  1146. <td width="12%">
  1147. </td></tr>
  1148. <tr valign="top" align="left">
  1149. <td width="11%"></td>
  1150. <td width="38%">
  1151. <p>TIFFTAG_TILEDEPTH</p></td>
  1152. <td width="11%"></td>
  1153. <td width="28%">
  1154. <p>1</p></td>
  1155. <td width="12%">
  1156. </td></tr>
  1157. <tr valign="top" align="left">
  1158. <td width="11%"></td>
  1159. <td width="38%"></td>
  1160. <td width="11%"></td>
  1161. <td width="28%">
  1162. <p>uint32*</p></td>
  1163. <td width="12%">
  1164. </td></tr>
  1165. <tr valign="top" align="left">
  1166. <td width="11%"></td>
  1167. <td width="38%">
  1168. <p>TIFFTAG_TILELENGTH</p></td>
  1169. <td width="11%"></td>
  1170. <td width="28%">
  1171. <p>1</p></td>
  1172. <td width="12%">
  1173. </td></tr>
  1174. <tr valign="top" align="left">
  1175. <td width="11%"></td>
  1176. <td width="38%"></td>
  1177. <td width="11%"></td>
  1178. <td width="28%">
  1179. <p>uint32*</p></td>
  1180. <td width="12%">
  1181. </td></tr>
  1182. <tr valign="top" align="left">
  1183. <td width="11%"></td>
  1184. <td width="38%">
  1185. <p>TIFFTAG_TILEOFFSETS</p></td>
  1186. <td width="11%"></td>
  1187. <td width="28%">
  1188. <p>1</p></td>
  1189. <td width="12%">
  1190. </td></tr>
  1191. <tr valign="top" align="left">
  1192. <td width="11%"></td>
  1193. <td width="38%"></td>
  1194. <td width="11%"></td>
  1195. <td width="28%">
  1196. <p>uint32**</p></td>
  1197. <td width="12%">
  1198. </td></tr>
  1199. <tr valign="top" align="left">
  1200. <td width="11%"></td>
  1201. <td width="38%">
  1202. <p>TIFFTAG_TILEWIDTH</p></td>
  1203. <td width="11%"></td>
  1204. <td width="28%">
  1205. <p>1</p></td>
  1206. <td width="12%">
  1207. </td></tr>
  1208. <tr valign="top" align="left">
  1209. <td width="11%"></td>
  1210. <td width="38%"></td>
  1211. <td width="11%"></td>
  1212. <td width="28%">
  1213. <p>uint32*</p></td>
  1214. <td width="12%">
  1215. </td></tr>
  1216. <tr valign="top" align="left">
  1217. <td width="11%"></td>
  1218. <td width="38%">
  1219. <p>TIFFTAG_TRANSFERFUNCTION</p></td>
  1220. <td width="11%"></td>
  1221. <td width="28%">
  1222. <p>1 or 3&dagger;</p></td>
  1223. <td width="12%">
  1224. <p>uint16**1&lt;&lt;BitsPerSample entry arrays</p></td></tr>
  1225. <tr valign="top" align="left">
  1226. <td width="11%"></td>
  1227. <td width="38%">
  1228. <p>TIFFTAG_WHITEPOINT</p></td>
  1229. <td width="11%"></td>
  1230. <td width="28%">
  1231. <p>1</p></td>
  1232. <td width="12%">
  1233. </td></tr>
  1234. <tr valign="top" align="left">
  1235. <td width="11%"></td>
  1236. <td width="38%"></td>
  1237. <td width="11%"></td>
  1238. <td width="28%">
  1239. <p>float**</p></td>
  1240. <td width="12%">
  1241. <p>2-entry array</p></td></tr>
  1242. <tr valign="top" align="left">
  1243. <td width="11%"></td>
  1244. <td width="38%">
  1245. <p>TIFFTAG_XMLPACKET</p></td>
  1246. <td width="11%"></td>
  1247. <td width="28%">
  1248. <p>2</p></td>
  1249. <td width="12%">
  1250. </td></tr>
  1251. <tr valign="top" align="left">
  1252. <td width="11%"></td>
  1253. <td width="38%"></td>
  1254. <td width="11%"></td>
  1255. <td width="28%">
  1256. <p>uint32*,void**</p></td>
  1257. <td width="12%">
  1258. <p>count, data</p></td></tr>
  1259. <tr valign="top" align="left">
  1260. <td width="11%"></td>
  1261. <td width="38%">
  1262. <p>TIFFTAG_XPOSITION</p></td>
  1263. <td width="11%"></td>
  1264. <td width="28%">
  1265. <p>1</p></td>
  1266. <td width="12%">
  1267. </td></tr>
  1268. <tr valign="top" align="left">
  1269. <td width="11%"></td>
  1270. <td width="38%"></td>
  1271. <td width="11%"></td>
  1272. <td width="28%">
  1273. <p>float*</p></td>
  1274. <td width="12%">
  1275. </td></tr>
  1276. <tr valign="top" align="left">
  1277. <td width="11%"></td>
  1278. <td width="38%">
  1279. <p>TIFFTAG_XRESOLUTION</p></td>
  1280. <td width="11%"></td>
  1281. <td width="28%">
  1282. <p>1</p></td>
  1283. <td width="12%">
  1284. </td></tr>
  1285. <tr valign="top" align="left">
  1286. <td width="11%"></td>
  1287. <td width="38%"></td>
  1288. <td width="11%"></td>
  1289. <td width="28%">
  1290. <p>float*</p></td>
  1291. <td width="12%">
  1292. </td></tr>
  1293. <tr valign="top" align="left">
  1294. <td width="11%"></td>
  1295. <td width="38%">
  1296. <p>TIFFTAG_YCBCRCOEFFICIENTS</p></td>
  1297. <td width="11%"></td>
  1298. <td width="28%">
  1299. <p>1</p></td>
  1300. <td width="12%">
  1301. </td></tr>
  1302. <tr valign="top" align="left">
  1303. <td width="11%"></td>
  1304. <td width="38%"></td>
  1305. <td width="11%"></td>
  1306. <td width="28%">
  1307. <p>float**</p></td>
  1308. <td width="12%">
  1309. <p>3-entry array</p></td></tr>
  1310. <tr valign="top" align="left">
  1311. <td width="11%"></td>
  1312. <td width="38%">
  1313. <p>TIFFTAG_YCBCRPOSITIONING</p></td>
  1314. <td width="11%"></td>
  1315. <td width="28%">
  1316. <p>1</p></td>
  1317. <td width="12%">
  1318. </td></tr>
  1319. <tr valign="top" align="left">
  1320. <td width="11%"></td>
  1321. <td width="38%"></td>
  1322. <td width="11%"></td>
  1323. <td width="28%">
  1324. <p>uint16*</p></td>
  1325. <td width="12%">
  1326. </td></tr>
  1327. <tr valign="top" align="left">
  1328. <td width="11%"></td>
  1329. <td width="38%">
  1330. <p>TIFFTAG_YCBCRSUBSAMPLING</p></td>
  1331. <td width="11%"></td>
  1332. <td width="28%">
  1333. <p>2</p></td>
  1334. <td width="12%">
  1335. </td></tr>
  1336. <tr valign="top" align="left">
  1337. <td width="11%"></td>
  1338. <td width="38%"></td>
  1339. <td width="11%"></td>
  1340. <td width="28%">
  1341. <p>uint16*</p></td>
  1342. <td width="12%">
  1343. </td></tr>
  1344. <tr valign="top" align="left">
  1345. <td width="11%"></td>
  1346. <td width="38%">
  1347. <p>TIFFTAG_YPOSITION</p></td>
  1348. <td width="11%"></td>
  1349. <td width="28%">
  1350. <p>1</p></td>
  1351. <td width="12%">
  1352. </td></tr>
  1353. <tr valign="top" align="left">
  1354. <td width="11%"></td>
  1355. <td width="38%"></td>
  1356. <td width="11%"></td>
  1357. <td width="28%">
  1358. <p>float*</p></td>
  1359. <td width="12%">
  1360. </td></tr>
  1361. <tr valign="top" align="left">
  1362. <td width="11%"></td>
  1363. <td width="38%">
  1364. <p>TIFFTAG_YRESOLUTION</p></td>
  1365. <td width="11%"></td>
  1366. <td width="28%">
  1367. <p>1</p></td>
  1368. <td width="12%">
  1369. </td></tr>
  1370. <tr valign="top" align="left">
  1371. <td width="11%"></td>
  1372. <td width="38%"></td>
  1373. <td width="11%"></td>
  1374. <td width="28%">
  1375. <p>float*&Dagger;</p></td>
  1376. <td width="12%">
  1377. </td></tr>
  1378. </table>
  1379. <p style="margin-left:11%;">&dagger; If
  1380. <i>SamplesPerPixel</i> is one, then a single array is
  1381. returned; otherwise three arrays are returned. <br>
  1382. &Dagger; The contents of this field are quite complex. See
  1383. <i>The ICC Profile Format Specification</i>, Annex B.3
  1384. &quot;Embedding ICC Profiles in TIFF Files&quot; (available
  1385. at http://www.color.org) for an explanation.</p>
  1386. <h2>AUTOREGISTERED TAGS
  1387. <a name="AUTOREGISTERED TAGS"></a>
  1388. </h2>
  1389. <p style="margin-left:11%; margin-top: 1em">If you
  1390. can&rsquo;t find the tag in the table above that means this
  1391. is unsupported tag. But you still be able to read it&rsquo;s
  1392. value if you know the data type of that tag. For example, if
  1393. you want to read the LONG value from the tag 33424 and ASCII
  1394. string from the tag 36867 you can use the following
  1395. code:</p>
  1396. <p style="margin-left:22%; margin-top: 1em">uint16 count;
  1397. <br>
  1398. void *data;</p>
  1399. <p style="margin-left:22%; margin-top: 1em">TIFFGetField(tiff,
  1400. 33424, &amp;count, &amp;data); <br>
  1401. printf(&quot;Tag %d: %d, count %d0, 33424, *(uint32 *)data,
  1402. count); <br>
  1403. TIFFGetField(tiff, 36867, &amp;count, &amp;data); <br>
  1404. printf(&quot;Tag %d: %s, count %d0, 36867, (char *)data,
  1405. count);</p>
  1406. <p style="margin-left:11%; margin-top: 1em">is not
  1407. supported by <b>libtiff(3TIFF),</b> library</p>
  1408. <h2>RETURN VALUES
  1409. <a name="RETURN VALUES"></a>
  1410. </h2>
  1411. <p style="margin-left:11%; margin-top: 1em">1 is returned
  1412. if the tag is defined in the current directory; otherwise a
  1413. 0 is returned.</p>
  1414. <h2>DIAGNOSTICS
  1415. <a name="DIAGNOSTICS"></a>
  1416. </h2>
  1417. <p style="margin-left:11%; margin-top: 1em">All error
  1418. messages are directed to the <b>TIFFError</b>(3TIFF)
  1419. routine.</p>
  1420. <p style="margin-left:11%; margin-top: 1em"><b>Unknown
  1421. field, tag 0x%x</b>. An unknown tag was supplied.</p>
  1422. <h2>SEE ALSO
  1423. <a name="SEE ALSO"></a>
  1424. </h2>
  1425. <p style="margin-left:11%; margin-top: 1em"><b>TIFFOpen</b>(3TIFF),
  1426. <b>TIFFSetField</b>(3TIFF), <b>TIFFSetDirectory</b>(3TIFF),
  1427. <b>TIFFReadDirectory</b>(3TIFF),
  1428. <b>TIFFWriteDirectory</b>(3TIFF) <b>libtiff</b>(3TIFF),</p>
  1429. <p style="margin-left:11%; margin-top: 1em">Libtiff library
  1430. home page: <b>http://www.remotesensing.org/libtiff/</b></p>
  1431. <hr>
  1432. </body>
  1433. </html>