]>
Commit | Line | Data |
---|---|---|
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 | ||
18 | </head> | |
19 | <body> | |
20 | ||
21 | <h1 align="center">TIFFGetField</h1> | |
22 | ||
23 | <a href="#NAME">NAME</a><br> | |
24 | <a href="#SYNOPSIS">SYNOPSIS</a><br> | |
25 | <a href="#DESCRIPTION">DESCRIPTION</a><br> | |
26 | <a href="#AUTOREGISTERED TAGS">AUTOREGISTERED TAGS</a><br> | |
27 | <a href="#RETURN VALUES">RETURN VALUES</a><br> | |
28 | <a href="#DIAGNOSTICS">DIAGNOSTICS</a><br> | |
29 | <a href="#SEE ALSO">SEE ALSO</a><br> | |
30 | ||
31 | <hr> | |
32 | ||
33 | ||
34 | <h2>NAME | |
35 | <a name="NAME"></a> | |
36 | </h2> | |
37 | ||
38 | ||
39 | <p style="margin-left:11%; margin-top: 1em">TIFFGetField, | |
40 | TIFFVGetField − get the value(s) of a tag in an open | |
41 | <small>TIFF</small> file</p> | |
42 | ||
43 | <h2>SYNOPSIS | |
44 | <a name="SYNOPSIS"></a> | |
45 | </h2> | |
46 | ||
47 | ||
48 | <p style="margin-left:11%; margin-top: 1em"><b>#include | |
49 | <tiffio.h></b></p> | |
50 | ||
51 | <p style="margin-left:11%; margin-top: 1em"><b>int | |
52 | TIFFGetField(TIFF *</b><i>tif</i><b>, ttag_t</b> | |
53 | <i>tag</i><b>,</b> <i>...</i><b>)</b></p> | |
54 | ||
55 | <p style="margin-left:11%; margin-top: 1em"><b>#include | |
56 | <stdarg.h></b></p> | |
57 | ||
58 | <p style="margin-left:11%; margin-top: 1em"><b>int | |
59 | TIFFVGetField(TIFF *</b><i>tif</i><b>, ttag_t</b> | |
60 | <i>tag</i><b>, va_list</b> <i>ap</i><b>) <br> | |
61 | int TIFFGetFieldDefaulted(TIFF *</b><i>tif</i><b>, | |
62 | ttag_t</b> <i>tag</i><b>,</b> <i>...</i><b>) <br> | |
63 | int TIFFVGetFieldDefaulted(TIFF *</b><i>tif</i><b>, | |
64 | ttag_t</b> <i>tag</i><b>, va_list</b> <i>ap</i><b>)</b></p> | |
65 | ||
66 | <h2>DESCRIPTION | |
67 | <a name="DESCRIPTION"></a> | |
68 | </h2> | |
69 | ||
70 | ||
71 | ||
72 | <p style="margin-left:11%; margin-top: 1em"><b><i>TIFFGetField</i></b> | |
73 | returns the value of a tag or pseudo-tag associated with the | |
74 | the current directory of the opened <small>TIFF</small> file | |
75 | <i>tif</i>. (A <i>pseudo-tag</i> is a parameter that is used | |
76 | to control the operation of the <small>TIFF</small> library | |
77 | but whose value is not read or written to the underlying | |
78 | file.) The file must have been previously opened with | |
79 | <i>TIFFOpen</i>(3TIFF). The tag is identified by <i>tag</i>, | |
80 | one of the values defined in the include file <b>tiff.h</b> | |
81 | (see also the table below). The type and number of values | |
82 | returned is dependent on the tag being requested. The | |
83 | programming interface uses a variable argument list as | |
84 | prescribed by the <i>stdarg</i>(3) interface. The returned | |
85 | values should only be interpreted if <i>TIFFGetField</i> | |
86 | returns 1.</p> | |
87 | ||
88 | ||
89 | <p style="margin-left:11%; margin-top: 1em"><i>TIFFVGetField</i> | |
90 | is functionally equivalent to <i>TIFFGetField</i> except | |
91 | that it takes a pointer to a variable argument list. | |
92 | <i>TIFFVGetField</i> is useful for layering interfaces on | |
93 | top of the functionality provided by | |
94 | <i>TIFFGetField</i>.</p> | |
95 | ||
96 | ||
97 | <p style="margin-left:11%; margin-top: 1em"><i>TIFFGetFieldDefaulted</i> | |
98 | and <i>TIFFVGetFieldDefaulted</i> are identical to | |
99 | <i>TIFFGetField</i> and <i>TIFFVGetField</i>, except that if | |
100 | a tag is not defined in the current directory and it has a | |
101 | default value, then the default value is returned.</p> | |
102 | ||
103 | <p style="margin-left:11%; margin-top: 1em">The tags | |
104 | understood by <i>libtiff(3TIFF),</i> the number of parameter | |
105 | values, and the types for the returned values are shown | |
106 | below. The data types are specified as in C and correspond | |
107 | to the types used to specify tag values to | |
108 | <i>TIFFSetField</i>(3TIFF). Remember that | |
109 | <i>TIFFGetField</i> returns parameter values, so all the | |
110 | listed data types are pointers to storage where values | |
111 | should be returned. Consult the <small>TIFF</small> | |
112 | specification (or relevant industry specification) for | |
113 | information on the meaning of each tag and their possible | |
114 | values.</p> | |
115 | ||
116 | <table width="100%" border="0" rules="none" frame="void" | |
117 | cellspacing="0" cellpadding="0"> | |
118 | <tr valign="top" align="left"> | |
119 | <td width="11%"></td> | |
120 | <td width="38%"> | |
121 | ||
122 | ||
123 | <p><i>Tag Name</i></p></td> | |
124 | <td width="11%"></td> | |
125 | <td width="28%"> | |
126 | ||
127 | ||
128 | <p><i>Count</i></p></td> | |
129 | <td width="12%"> | |
130 | </td></tr> | |
131 | <tr valign="top" align="left"> | |
132 | <td width="11%"></td> | |
133 | <td width="38%"></td> | |
134 | <td width="11%"></td> | |
135 | <td width="28%"> | |
136 | ||
137 | ||
138 | <p><i>Types</i></p></td> | |
139 | <td width="12%"> | |
140 | ||
141 | ||
142 | <p><i>Notes</i></p></td></tr> | |
143 | <tr valign="top" align="left"> | |
144 | <td width="11%"></td> | |
145 | <td width="38%"> | |
146 | ||
147 | ||
148 | <p>TIFFTAG_ARTIST</p></td> | |
149 | <td width="11%"></td> | |
150 | <td width="28%"> | |
151 | ||
152 | ||
153 | <p>1</p></td> | |
154 | <td width="12%"> | |
155 | </td></tr> | |
156 | <tr valign="top" align="left"> | |
157 | <td width="11%"></td> | |
158 | <td width="38%"></td> | |
159 | <td width="11%"></td> | |
160 | <td width="28%"> | |
161 | ||
162 | ||
163 | <p>char**</p></td> | |
164 | <td width="12%"> | |
165 | </td></tr> | |
166 | <tr valign="top" align="left"> | |
167 | <td width="11%"></td> | |
168 | <td width="38%"> | |
169 | ||
170 | ||
171 | <p>TIFFTAG_BADFAXLINES</p></td> | |
172 | <td width="11%"></td> | |
173 | <td width="28%"> | |
174 | ||
175 | ||
176 | <p>1</p></td> | |
177 | <td width="12%"> | |
178 | </td></tr> | |
179 | <tr valign="top" align="left"> | |
180 | <td width="11%"></td> | |
181 | <td width="38%"></td> | |
182 | <td width="11%"></td> | |
183 | <td width="28%"> | |
184 | ||
185 | ||
186 | <p>uint32*</p></td> | |
187 | <td width="12%"> | |
188 | </td></tr> | |
189 | <tr valign="top" align="left"> | |
190 | <td width="11%"></td> | |
191 | <td width="38%"> | |
192 | ||
193 | ||
194 | <p>TIFFTAG_BITSPERSAMPLE</p></td> | |
195 | <td width="11%"></td> | |
196 | <td width="28%"> | |
197 | ||
198 | ||
199 | <p>1</p></td> | |
200 | <td width="12%"> | |
201 | </td></tr> | |
202 | <tr valign="top" align="left"> | |
203 | <td width="11%"></td> | |
204 | <td width="38%"></td> | |
205 | <td width="11%"></td> | |
206 | <td width="28%"> | |
207 | ||
208 | ||
209 | <p>uint16*</p></td> | |
210 | <td width="12%"> | |
211 | </td></tr> | |
212 | <tr valign="top" align="left"> | |
213 | <td width="11%"></td> | |
214 | <td width="38%"> | |
215 | ||
216 | ||
217 | <p>TIFFTAG_CLEANFAXDATA</p></td> | |
218 | <td width="11%"></td> | |
219 | <td width="28%"> | |
220 | ||
221 | ||
222 | <p>1</p></td> | |
223 | <td width="12%"> | |
224 | </td></tr> | |
225 | <tr valign="top" align="left"> | |
226 | <td width="11%"></td> | |
227 | <td width="38%"></td> | |
228 | <td width="11%"></td> | |
229 | <td width="28%"> | |
230 | ||
231 | ||
232 | <p>uint16*</p></td> | |
233 | <td width="12%"> | |
234 | </td></tr> | |
235 | <tr valign="top" align="left"> | |
236 | <td width="11%"></td> | |
237 | <td width="38%"> | |
238 | ||
239 | ||
240 | <p>TIFFTAG_COLORMAP</p></td> | |
241 | <td width="11%"></td> | |
242 | <td width="28%"> | |
243 | ||
244 | ||
245 | <p>3</p></td> | |
246 | <td width="12%"> | |
247 | </td></tr> | |
248 | <tr valign="top" align="left"> | |
249 | <td width="11%"></td> | |
250 | <td width="38%"></td> | |
251 | <td width="11%"></td> | |
252 | <td width="28%"> | |
253 | ||
254 | ||
255 | <p>uint16**</p></td> | |
256 | <td width="12%"> | |
257 | ||
258 | ||
259 | <p>1<<BitsPerSample arrays</p></td></tr> | |
260 | <tr valign="top" align="left"> | |
261 | <td width="11%"></td> | |
262 | <td width="38%"> | |
263 | ||
264 | ||
265 | <p>TIFFTAG_COMPRESSION</p></td> | |
266 | <td width="11%"></td> | |
267 | <td width="28%"> | |
268 | ||
269 | ||
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 | ||
279 | ||
280 | <p>uint16*</p></td> | |
281 | <td width="12%"> | |
282 | </td></tr> | |
283 | <tr valign="top" align="left"> | |
284 | <td width="11%"></td> | |
285 | <td width="38%"> | |
286 | ||
287 | ||
288 | <p>TIFFTAG_CONSECUTIVEBADFAXLINES</p></td> | |
289 | <td width="11%"></td> | |
290 | <td width="28%"> | |
291 | ||
292 | ||
293 | <p>1</p></td> | |
294 | <td width="12%"> | |
295 | </td></tr> | |
296 | <tr valign="top" align="left"> | |
297 | <td width="11%"></td> | |
298 | <td width="38%"></td> | |
299 | <td width="11%"></td> | |
300 | <td width="28%"> | |
301 | ||
302 | ||
303 | <p>uint32*</p></td> | |
304 | <td width="12%"> | |
305 | </td></tr> | |
306 | <tr valign="top" align="left"> | |
307 | <td width="11%"></td> | |
308 | <td width="38%"> | |
309 | ||
310 | ||
311 | <p>TIFFTAG_COPYRIGHT</p></td> | |
312 | <td width="11%"></td> | |
313 | <td width="28%"> | |
314 | ||
315 | ||
316 | <p>1</p></td> | |
317 | <td width="12%"> | |
318 | </td></tr> | |
319 | <tr valign="top" align="left"> | |
320 | <td width="11%"></td> | |
321 | <td width="38%"></td> | |
322 | <td width="11%"></td> | |
323 | <td width="28%"> | |
324 | ||
325 | ||
326 | <p>char**</p></td> | |
327 | <td width="12%"> | |
328 | </td></tr> | |
329 | <tr valign="top" align="left"> | |
330 | <td width="11%"></td> | |
331 | <td width="38%"> | |
332 | ||
333 | ||
334 | <p>TIFFTAG_DATATYPE</p></td> | |
335 | <td width="11%"></td> | |
336 | <td width="28%"> | |
337 | ||
338 | ||
339 | <p>1</p></td> | |
340 | <td width="12%"> | |
341 | </td></tr> | |
342 | <tr valign="top" align="left"> | |
343 | <td width="11%"></td> | |
344 | <td width="38%"></td> | |
345 | <td width="11%"></td> | |
346 | <td width="28%"> | |
347 | ||
348 | ||
349 | <p>uint16*</p></td> | |
350 | <td width="12%"> | |
351 | </td></tr> | |
352 | <tr valign="top" align="left"> | |
353 | <td width="11%"></td> | |
354 | <td width="38%"> | |
355 | ||
356 | ||
357 | <p>TIFFTAG_DATETIME</p></td> | |
358 | <td width="11%"></td> | |
359 | <td width="28%"> | |
360 | ||
361 | ||
362 | <p>1</p></td> | |
363 | <td width="12%"> | |
364 | </td></tr> | |
365 | <tr valign="top" align="left"> | |
366 | <td width="11%"></td> | |
367 | <td width="38%"></td> | |
368 | <td width="11%"></td> | |
369 | <td width="28%"> | |
370 | ||
371 | ||
372 | <p>char**</p></td> | |
373 | <td width="12%"> | |
374 | </td></tr> | |
375 | <tr valign="top" align="left"> | |
376 | <td width="11%"></td> | |
377 | <td width="38%"> | |
378 | ||
379 | ||
380 | <p>TIFFTAG_DOCUMENTNAME</p></td> | |
381 | <td width="11%"></td> | |
382 | <td width="28%"> | |
383 | ||
384 | ||
385 | <p>1</p></td> | |
386 | <td width="12%"> | |
387 | </td></tr> | |
388 | <tr valign="top" align="left"> | |
389 | <td width="11%"></td> | |
390 | <td width="38%"></td> | |
391 | <td width="11%"></td> | |
392 | <td width="28%"> | |
393 | ||
394 | ||
395 | <p>char**</p></td> | |
396 | <td width="12%"> | |
397 | </td></tr> | |
398 | <tr valign="top" align="left"> | |
399 | <td width="11%"></td> | |
400 | <td width="38%"> | |
401 | ||
402 | ||
403 | <p>TIFFTAG_DOTRANGE</p></td> | |
404 | <td width="11%"></td> | |
405 | <td width="28%"> | |
406 | ||
407 | ||
408 | <p>2</p></td> | |
409 | <td width="12%"> | |
410 | </td></tr> | |
411 | <tr valign="top" align="left"> | |
412 | <td width="11%"></td> | |
413 | <td width="38%"></td> | |
414 | <td width="11%"></td> | |
415 | <td width="28%"> | |
416 | ||
417 | ||
418 | <p>uint16*</p></td> | |
419 | <td width="12%"> | |
420 | </td></tr> | |
421 | <tr valign="top" align="left"> | |
422 | <td width="11%"></td> | |
423 | <td width="38%"> | |
424 | ||
425 | ||
426 | <p>TIFFTAG_EXTRASAMPLES</p></td> | |
427 | <td width="11%"></td> | |
428 | <td width="28%"> | |
429 | ||
430 | ||
431 | <p>2</p></td> | |
432 | <td width="12%"> | |
433 | </td></tr> | |
434 | <tr valign="top" align="left"> | |
435 | <td width="11%"></td> | |
436 | <td width="38%"></td> | |
437 | <td width="11%"></td> | |
438 | <td width="28%"> | |
439 | ||
440 | ||
441 | <p>uint16*,uint16**</p></td> | |
442 | <td width="12%"> | |
443 | ||
444 | ||
445 | <p>count & types array</p></td></tr> | |
446 | <tr valign="top" align="left"> | |
447 | <td width="11%"></td> | |
448 | <td width="38%"> | |
449 | ||
450 | ||
451 | <p>TIFFTAG_FAXFILLFUNC</p></td> | |
452 | <td width="11%"></td> | |
453 | <td width="28%"> | |
454 | ||
455 | ||
456 | <p>1</p></td> | |
457 | <td width="12%"> | |
458 | </td></tr> | |
459 | <tr valign="top" align="left"> | |
460 | <td width="11%"></td> | |
461 | <td width="38%"></td> | |
462 | <td width="11%"></td> | |
463 | <td width="28%"> | |
464 | ||
465 | ||
466 | <p>TIFFFaxFillFunc*</p></td> | |
467 | <td width="12%"> | |
468 | ||
469 | ||
470 | <p>G3/G4 compression pseudo-tag</p></td></tr> | |
471 | <tr valign="top" align="left"> | |
472 | <td width="11%"></td> | |
473 | <td width="38%"> | |
474 | ||
475 | ||
476 | <p>TIFFTAG_FAXMODE</p></td> | |
477 | <td width="11%"></td> | |
478 | <td width="28%"> | |
479 | ||
480 | ||
481 | <p>1</p></td> | |
482 | <td width="12%"> | |
483 | </td></tr> | |
484 | <tr valign="top" align="left"> | |
485 | <td width="11%"></td> | |
486 | <td width="38%"></td> | |
487 | <td width="11%"></td> | |
488 | <td width="28%"> | |
489 | ||
490 | ||
491 | <p>int*</p></td> | |
492 | <td width="12%"> | |
493 | ||
494 | ||
495 | <p>G3/G4 compression pseudo-tag</p></td></tr> | |
496 | <tr valign="top" align="left"> | |
497 | <td width="11%"></td> | |
498 | <td width="38%"> | |
499 | ||
500 | ||
501 | <p>TIFFTAG_FILLORDER</p></td> | |
502 | <td width="11%"></td> | |
503 | <td width="28%"> | |
504 | ||
505 | ||
506 | <p>1</p></td> | |
507 | <td width="12%"> | |
508 | </td></tr> | |
509 | <tr valign="top" align="left"> | |
510 | <td width="11%"></td> | |
511 | <td width="38%"></td> | |
512 | <td width="11%"></td> | |
513 | <td width="28%"> | |
514 | ||
515 | ||
516 | <p>uint16*</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 | ||
523 | ||
524 | <p>TIFFTAG_GROUP3OPTIONS</p></td> | |
525 | <td width="11%"></td> | |
526 | <td width="28%"> | |
527 | ||
528 | ||
529 | <p>1</p></td> | |
530 | <td width="12%"> | |
531 | </td></tr> | |
532 | <tr valign="top" align="left"> | |
533 | <td width="11%"></td> | |
534 | <td width="38%"></td> | |
535 | <td width="11%"></td> | |
536 | <td width="28%"> | |
537 | ||
538 | ||
539 | <p>uint32*</p></td> | |
540 | <td width="12%"> | |
541 | </td></tr> | |
542 | <tr valign="top" align="left"> | |
543 | <td width="11%"></td> | |
544 | <td width="38%"> | |
545 | ||
546 | ||
547 | <p>TIFFTAG_GROUP4OPTIONS</p></td> | |
548 | <td width="11%"></td> | |
549 | <td width="28%"> | |
550 | ||
551 | ||
552 | <p>1</p></td> | |
553 | <td width="12%"> | |
554 | </td></tr> | |
555 | <tr valign="top" align="left"> | |
556 | <td width="11%"></td> | |
557 | <td width="38%"></td> | |
558 | <td width="11%"></td> | |
559 | <td width="28%"> | |
560 | ||
561 | ||
562 | <p>uint32*</p></td> | |
563 | <td width="12%"> | |
564 | </td></tr> | |
565 | <tr valign="top" align="left"> | |
566 | <td width="11%"></td> | |
567 | <td width="38%"> | |
568 | ||
569 | ||
570 | <p>TIFFTAG_HALFTONEHINTS</p></td> | |
571 | <td width="11%"></td> | |
572 | <td width="28%"> | |
573 | ||
574 | ||
575 | <p>2</p></td> | |
576 | <td width="12%"> | |
577 | </td></tr> | |
578 | <tr valign="top" align="left"> | |
579 | <td width="11%"></td> | |
580 | <td width="38%"></td> | |
581 | <td width="11%"></td> | |
582 | <td width="28%"> | |
583 | ||
584 | ||
585 | <p>uint16*</p></td> | |
586 | <td width="12%"> | |
587 | </td></tr> | |
588 | <tr valign="top" align="left"> | |
589 | <td width="11%"></td> | |
590 | <td width="38%"> | |
591 | ||
592 | ||
593 | <p>TIFFTAG_HOSTCOMPUTER</p></td> | |
594 | <td width="11%"></td> | |
595 | <td width="28%"> | |
596 | ||
597 | ||
598 | <p>1</p></td> | |
599 | <td width="12%"> | |
600 | </td></tr> | |
601 | <tr valign="top" align="left"> | |
602 | <td width="11%"></td> | |
603 | <td width="38%"></td> | |
604 | <td width="11%"></td> | |
605 | <td width="28%"> | |
606 | ||
607 | ||
608 | <p>char**</p></td> | |
609 | <td width="12%"> | |
610 | </td></tr> | |
611 | <tr valign="top" align="left"> | |
612 | <td width="11%"></td> | |
613 | <td width="38%"> | |
614 | ||
615 | ||
616 | <p>TIFFTAG_ICCPROFILE</p></td> | |
617 | <td width="11%"></td> | |
618 | <td width="28%"> | |
619 | ||
620 | ||
621 | <p>2</p></td> | |
622 | <td width="12%"> | |
623 | </td></tr> | |
624 | <tr valign="top" align="left"> | |
625 | <td width="11%"></td> | |
626 | <td width="38%"></td> | |
627 | <td width="11%"></td> | |
628 | <td width="28%"> | |
629 | ||
630 | ||
631 | <p>uint32*,void**</p></td> | |
632 | <td width="12%"> | |
633 | ||
634 | ||
635 | <p>count, profile data</p></td></tr> | |
636 | <tr valign="top" align="left"> | |
637 | <td width="11%"></td> | |
638 | <td width="38%"> | |
639 | ||
640 | ||
641 | <p>TIFFTAG_IMAGEDEPTH</p></td> | |
642 | <td width="11%"></td> | |
643 | <td width="28%"> | |
644 | ||
645 | ||
646 | <p>1</p></td> | |
647 | <td width="12%"> | |
648 | </td></tr> | |
649 | <tr valign="top" align="left"> | |
650 | <td width="11%"></td> | |
651 | <td width="38%"></td> | |
652 | <td width="11%"></td> | |
653 | <td width="28%"> | |
654 | ||
655 | ||
656 | <p>uint32*</p></td> | |
657 | <td width="12%"> | |
658 | </td></tr> | |
659 | <tr valign="top" align="left"> | |
660 | <td width="11%"></td> | |
661 | <td width="38%"> | |
662 | ||
663 | ||
664 | <p>TIFFTAG_IMAGEDESCRIPTION</p></td> | |
665 | <td width="11%"></td> | |
666 | <td width="28%"> | |
667 | ||
668 | ||
669 | <p>1</p></td> | |
670 | <td width="12%"> | |
671 | </td></tr> | |
672 | <tr valign="top" align="left"> | |
673 | <td width="11%"></td> | |
674 | <td width="38%"></td> | |
675 | <td width="11%"></td> | |
676 | <td width="28%"> | |
677 | ||
678 | ||
679 | <p>char**</p></td> | |
680 | <td width="12%"> | |
681 | </td></tr> | |
682 | <tr valign="top" align="left"> | |
683 | <td width="11%"></td> | |
684 | <td width="38%"> | |
685 | ||
686 | ||
687 | <p>TIFFTAG_IMAGELENGTH</p></td> | |
688 | <td width="11%"></td> | |
689 | <td width="28%"> | |
690 | ||
691 | ||
692 | <p>1</p></td> | |
693 | <td width="12%"> | |
694 | </td></tr> | |
695 | <tr valign="top" align="left"> | |
696 | <td width="11%"></td> | |
697 | <td width="38%"></td> | |
698 | <td width="11%"></td> | |
699 | <td width="28%"> | |
700 | ||
701 | ||
702 | <p>uint32*</p></td> | |
703 | <td width="12%"> | |
704 | </td></tr> | |
705 | <tr valign="top" align="left"> | |
706 | <td width="11%"></td> | |
707 | <td width="38%"> | |
708 | ||
709 | ||
710 | <p>TIFFTAG_IMAGEWIDTH</p></td> | |
711 | <td width="11%"></td> | |
712 | <td width="28%"> | |
713 | ||
714 | ||
715 | <p>1</p></td> | |
716 | <td width="12%"> | |
717 | </td></tr> | |
718 | <tr valign="top" align="left"> | |
719 | <td width="11%"></td> | |
720 | <td width="38%"></td> | |
721 | <td width="11%"></td> | |
722 | <td width="28%"> | |
723 | ||
724 | ||
725 | <p>uint32*</p></td> | |
726 | <td width="12%"> | |
727 | </td></tr> | |
728 | <tr valign="top" align="left"> | |
729 | <td width="11%"></td> | |
730 | <td width="38%"> | |
731 | ||
732 | ||
733 | <p>TIFFTAG_INKNAMES</p></td> | |
734 | <td width="11%"></td> | |
735 | <td width="28%"> | |
736 | ||
737 | ||
738 | <p>1</p></td> | |
739 | <td width="12%"> | |
740 | </td></tr> | |
741 | <tr valign="top" align="left"> | |
742 | <td width="11%"></td> | |
743 | <td width="38%"></td> | |
744 | <td width="11%"></td> | |
745 | <td width="28%"> | |
746 | ||
747 | ||
748 | <p>char**</p></td> | |
749 | <td width="12%"> | |
750 | </td></tr> | |
751 | <tr valign="top" align="left"> | |
752 | <td width="11%"></td> | |
753 | <td width="38%"> | |
754 | ||
755 | ||
756 | <p>TIFFTAG_INKSET</p></td> | |
757 | <td width="11%"></td> | |
758 | <td width="28%"> | |
759 | ||
760 | ||
761 | <p>1</p></td> | |
762 | <td width="12%"> | |
763 | </td></tr> | |
764 | <tr valign="top" align="left"> | |
765 | <td width="11%"></td> | |
766 | <td width="38%"></td> | |
767 | <td width="11%"></td> | |
768 | <td width="28%"> | |
769 | ||
770 | ||
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 | ||
778 | ||
779 | <p>TIFFTAG_JPEGCOLORMODE</p></td> | |
780 | <td width="11%"></td> | |
781 | <td width="28%"> | |
782 | ||
783 | ||
784 | <p>1</p></td> | |
785 | <td width="12%"> | |
786 | </td></tr> | |
787 | <tr valign="top" align="left"> | |
788 | <td width="11%"></td> | |
789 | <td width="38%"></td> | |
790 | <td width="11%"></td> | |
791 | <td width="28%"> | |
792 | ||
793 | ||
794 | <p>int*</p></td> | |
795 | <td width="12%"> | |
796 | ||
797 | ||
798 | <p>JPEG pseudo-tag</p></td></tr> | |
799 | <tr valign="top" align="left"> | |
800 | <td width="11%"></td> | |
801 | <td width="38%"> | |
802 | ||
803 | ||
804 | <p>TIFFTAG_JPEGQUALITY</p></td> | |
805 | <td width="11%"></td> | |
806 | <td width="28%"> | |
807 | ||
808 | ||
809 | <p>1</p></td> | |
810 | <td width="12%"> | |
811 | </td></tr> | |
812 | <tr valign="top" align="left"> | |
813 | <td width="11%"></td> | |
814 | <td width="38%"></td> | |
815 | <td width="11%"></td> | |
816 | <td width="28%"> | |
817 | ||
818 | ||
819 | <p>int*</p></td> | |
820 | <td width="12%"> | |
821 | ||
822 | ||
823 | <p>JPEG pseudo-tag</p></td></tr> | |
824 | <tr valign="top" align="left"> | |
825 | <td width="11%"></td> | |
826 | <td width="38%"> | |
827 | ||
828 | ||
829 | <p>TIFFTAG_JPEGTABLES</p></td> | |
830 | <td width="11%"></td> | |
831 | <td width="28%"> | |
832 | ||
833 | ||
834 | <p>2</p></td> | |
835 | <td width="12%"> | |
836 | </td></tr> | |
837 | <tr valign="top" align="left"> | |
838 | <td width="11%"></td> | |
839 | <td width="38%"></td> | |
840 | <td width="11%"></td> | |
841 | <td width="28%"> | |
842 | ||
843 | ||
844 | <p>uint32*,void**</p></td> | |
845 | <td width="12%"> | |
846 | ||
847 | ||
848 | <p>count & tables</p></td></tr> | |
849 | <tr valign="top" align="left"> | |
850 | <td width="11%"></td> | |
851 | <td width="38%"> | |
852 | ||
853 | ||
854 | <p>TIFFTAG_JPEGTABLESMODE</p></td> | |
855 | <td width="11%"></td> | |
856 | <td width="28%"> | |
857 | ||
858 | ||
859 | <p>1</p></td> | |
860 | <td width="12%"> | |
861 | </td></tr> | |
862 | <tr valign="top" align="left"> | |
863 | <td width="11%"></td> | |
864 | <td width="38%"></td> | |
865 | <td width="11%"></td> | |
866 | <td width="28%"> | |
867 | ||
868 | ||
869 | <p>int*</p></td> | |
870 | <td width="12%"> | |
871 | ||
872 | ||
873 | <p>JPEG pseudo-tag</p></td></tr> | |
874 | <tr valign="top" align="left"> | |
875 | <td width="11%"></td> | |
876 | <td width="38%"> | |
877 | ||
878 | ||
879 | <p>TIFFTAG_MAKE</p></td> | |
880 | <td width="11%"></td> | |
881 | <td width="28%"> | |
882 | ||
883 | ||
884 | <p>1</p></td> | |
885 | <td width="12%"> | |
886 | </td></tr> | |
887 | <tr valign="top" align="left"> | |
888 | <td width="11%"></td> | |
889 | <td width="38%"></td> | |
890 | <td width="11%"></td> | |
891 | <td width="28%"> | |
892 | ||
893 | ||
894 | <p>char**</p></td> | |
895 | <td width="12%"> | |
896 | </td></tr> | |
897 | <tr valign="top" align="left"> | |
898 | <td width="11%"></td> | |
899 | <td width="38%"> | |
900 | ||
901 | ||
902 | <p>TIFFTAG_MATTEING</p></td> | |
903 | <td width="11%"></td> | |
904 | <td width="28%"> | |
905 | ||
906 | ||
907 | <p>1</p></td> | |
908 | <td width="12%"> | |
909 | </td></tr> | |
910 | <tr valign="top" align="left"> | |
911 | <td width="11%"></td> | |
912 | <td width="38%"></td> | |
913 | <td width="11%"></td> | |
914 | <td width="28%"> | |
915 | ||
916 | ||
917 | <p>uint16*</p></td> | |
918 | <td width="12%"> | |
919 | </td></tr> | |
920 | <tr valign="top" align="left"> | |
921 | <td width="11%"></td> | |
922 | <td width="38%"> | |
923 | ||
924 | ||
925 | <p>TIFFTAG_MAXSAMPLEVALUE</p></td> | |
926 | <td width="11%"></td> | |
927 | <td width="28%"> | |
928 | ||
929 | ||
930 | <p>1</p></td> | |
931 | <td width="12%"> | |
932 | </td></tr> | |
933 | <tr valign="top" align="left"> | |
934 | <td width="11%"></td> | |
935 | <td width="38%"></td> | |
936 | <td width="11%"></td> | |
937 | <td width="28%"> | |
938 | ||
939 | ||
940 | <p>uint16*</p></td> | |
941 | <td width="12%"> | |
942 | </td></tr> | |
943 | <tr valign="top" align="left"> | |
944 | <td width="11%"></td> | |
945 | <td width="38%"> | |
946 | ||
947 | ||
948 | <p>TIFFTAG_MINSAMPLEVALUE</p></td> | |
949 | <td width="11%"></td> | |
950 | <td width="28%"> | |
951 | ||
952 | ||
953 | <p>1</p></td> | |
954 | <td width="12%"> | |
955 | </td></tr> | |
956 | <tr valign="top" align="left"> | |
957 | <td width="11%"></td> | |
958 | <td width="38%"></td> | |
959 | <td width="11%"></td> | |
960 | <td width="28%"> | |
961 | ||
962 | ||
963 | <p>uint16*</p></td> | |
964 | <td width="12%"> | |
965 | </td></tr> | |
966 | <tr valign="top" align="left"> | |
967 | <td width="11%"></td> | |
968 | <td width="38%"> | |
969 | ||
970 | ||
971 | <p>TIFFTAG_MODEL</p></td> | |
972 | <td width="11%"></td> | |
973 | <td width="28%"> | |
974 | ||
975 | ||
976 | <p>1</p></td> | |
977 | <td width="12%"> | |
978 | </td></tr> | |
979 | <tr valign="top" align="left"> | |
980 | <td width="11%"></td> | |
981 | <td width="38%"></td> | |
982 | <td width="11%"></td> | |
983 | <td width="28%"> | |
984 | ||
985 | ||
986 | <p>char**</p></td> | |
987 | <td width="12%"> | |
988 | </td></tr> | |
989 | <tr valign="top" align="left"> | |
990 | <td width="11%"></td> | |
991 | <td width="38%"> | |
992 | ||
993 | ||
994 | <p>TIFFTAG_ORIENTATION</p></td> | |
995 | <td width="11%"></td> | |
996 | <td width="28%"> | |
997 | ||
998 | ||
999 | <p>1</p></td> | |
1000 | <td width="12%"> | |
1001 | </td></tr> | |
1002 | <tr valign="top" align="left"> | |
1003 | <td width="11%"></td> | |
1004 | <td width="38%"></td> | |
1005 | <td width="11%"></td> | |
1006 | <td width="28%"> | |
1007 | ||
1008 | ||
1009 | <p>uint16*</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 | ||
1016 | ||
1017 | <p>TIFFTAG_PAGENAME</p></td> | |
1018 | <td width="11%"></td> | |
1019 | <td width="28%"> | |
1020 | ||
1021 | ||
1022 | <p>1</p></td> | |
1023 | <td width="12%"> | |
1024 | </td></tr> | |
1025 | <tr valign="top" align="left"> | |
1026 | <td width="11%"></td> | |
1027 | <td width="38%"></td> | |
1028 | <td width="11%"></td> | |
1029 | <td width="28%"> | |
1030 | ||
1031 | ||
1032 | <p>char**</p></td> | |
1033 | <td width="12%"> | |
1034 | </td></tr> | |
1035 | <tr valign="top" align="left"> | |
1036 | <td width="11%"></td> | |
1037 | <td width="38%"> | |
1038 | ||
1039 | ||
1040 | <p>TIFFTAG_PAGENUMBER</p></td> | |
1041 | <td width="11%"></td> | |
1042 | <td width="28%"> | |
1043 | ||
1044 | ||
1045 | <p>2</p></td> | |
1046 | <td width="12%"> | |
1047 | </td></tr> | |
1048 | <tr valign="top" align="left"> | |
1049 | <td width="11%"></td> | |
1050 | <td width="38%"></td> | |
1051 | <td width="11%"></td> | |
1052 | <td width="28%"> | |
1053 | ||
1054 | ||
1055 | <p>uint16*</p></td> | |
1056 | <td width="12%"> | |
1057 | </td></tr> | |
1058 | <tr valign="top" align="left"> | |
1059 | <td width="11%"></td> | |
1060 | <td width="38%"> | |
1061 | ||
1062 | ||
1063 | <p>TIFFTAG_PHOTOMETRIC</p></td> | |
1064 | <td width="11%"></td> | |
1065 | <td width="28%"> | |
1066 | ||
1067 | ||
1068 | <p>1</p></td> | |
1069 | <td width="12%"> | |
1070 | </td></tr> | |
1071 | <tr valign="top" align="left"> | |
1072 | <td width="11%"></td> | |
1073 | <td width="38%"></td> | |
1074 | <td width="11%"></td> | |
1075 | <td width="28%"> | |
1076 | ||
1077 | ||
1078 | <p>uint16*</p></td> | |
1079 | <td width="12%"> | |
1080 | </td></tr> | |
1081 | <tr valign="top" align="left"> | |
1082 | <td width="11%"></td> | |
1083 | <td width="38%"> | |
1084 | ||
1085 | ||
1086 | <p>TIFFTAG_PHOTOSHOP</p></td> | |
1087 | <td width="11%"></td> | |
1088 | <td width="28%"> | |
1089 | ||
1090 | ||
1091 | <p>2</p></td> | |
1092 | <td width="12%"> | |
1093 | </td></tr> | |
1094 | <tr valign="top" align="left"> | |
1095 | <td width="11%"></td> | |
1096 | <td width="38%"></td> | |
1097 | <td width="11%"></td> | |
1098 | <td width="28%"> | |
1099 | ||
1100 | ||
1101 | <p>uint32*,void**</p></td> | |
1102 | <td width="12%"> | |
1103 | ||
1104 | ||
1105 | <p>count, data</p></td></tr> | |
1106 | <tr valign="top" align="left"> | |
1107 | <td width="11%"></td> | |
1108 | <td width="38%"> | |
1109 | ||
1110 | ||
1111 | <p>TIFFTAG_PLANARCONFIG</p></td> | |
1112 | <td width="11%"></td> | |
1113 | <td width="28%"> | |
1114 | ||
1115 | ||
1116 | <p>1</p></td> | |
1117 | <td width="12%"> | |
1118 | </td></tr> | |
1119 | <tr valign="top" align="left"> | |
1120 | <td width="11%"></td> | |
1121 | <td width="38%"></td> | |
1122 | <td width="11%"></td> | |
1123 | <td width="28%"> | |
1124 | ||
1125 | ||
1126 | <p>uint16*</p></td> | |
1127 | <td width="12%"> | |
1128 | </td></tr> | |
1129 | <tr valign="top" align="left"> | |
1130 | <td width="11%"></td> | |
1131 | <td width="38%"> | |
1132 | ||
1133 | ||
1134 | <p>TIFFTAG_PREDICTOR</p></td> | |
1135 | <td width="11%"></td> | |
1136 | <td width="28%"> | |
1137 | ||
1138 | ||
1139 | <p>1</p></td> | |
1140 | <td width="12%"> | |
1141 | </td></tr> | |
1142 | <tr valign="top" align="left"> | |
1143 | <td width="11%"></td> | |
1144 | <td width="38%"></td> | |
1145 | <td width="11%"></td> | |
1146 | <td width="28%"> | |
1147 | ||
1148 | ||
1149 | <p>uint16*</p></td> | |
1150 | <td width="12%"> | |
1151 | </td></tr> | |
1152 | <tr valign="top" align="left"> | |
1153 | <td width="11%"></td> | |
1154 | <td width="38%"> | |
1155 | ||
1156 | ||
1157 | <p>TIFFTAG_PRIMARYCHROMATICITIES</p></td> | |
1158 | <td width="11%"></td> | |
1159 | <td width="28%"> | |
1160 | ||
1161 | ||
1162 | <p>1</p></td> | |
1163 | <td width="12%"> | |
1164 | </td></tr> | |
1165 | <tr valign="top" align="left"> | |
1166 | <td width="11%"></td> | |
1167 | <td width="38%"></td> | |
1168 | <td width="11%"></td> | |
1169 | <td width="28%"> | |
1170 | ||
1171 | ||
1172 | <p>float**</p></td> | |
1173 | <td width="12%"> | |
1174 | ||
1175 | ||
1176 | <p>6-entry array</p></td></tr> | |
1177 | <tr valign="top" align="left"> | |
1178 | <td width="11%"></td> | |
1179 | <td width="38%"> | |
1180 | ||
1181 | ||
1182 | <p>TIFFTAG_REFERENCEBLACKWHITE</p></td> | |
1183 | <td width="11%"></td> | |
1184 | <td width="28%"> | |
1185 | ||
1186 | ||
1187 | <p>1</p></td> | |
1188 | <td width="12%"> | |
1189 | </td></tr> | |
1190 | <tr valign="top" align="left"> | |
1191 | <td width="11%"></td> | |
1192 | <td width="38%"></td> | |
1193 | <td width="11%"></td> | |
1194 | <td width="28%"> | |
1195 | ||
1196 | ||
1197 | <p>float**</p></td> | |
1198 | <td width="12%"> | |
1199 | ||
1200 | ||
1201 | <p>6-entry array</p></td></tr> | |
1202 | <tr valign="top" align="left"> | |
1203 | <td width="11%"></td> | |
1204 | <td width="38%"> | |
1205 | ||
1206 | ||
1207 | <p>TIFFTAG_RESOLUTIONUNIT</p></td> | |
1208 | <td width="11%"></td> | |
1209 | <td width="28%"> | |
1210 | ||
1211 | ||
1212 | <p>1</p></td> | |
1213 | <td width="12%"> | |
1214 | </td></tr> | |
1215 | <tr valign="top" align="left"> | |
1216 | <td width="11%"></td> | |
1217 | <td width="38%"></td> | |
1218 | <td width="11%"></td> | |
1219 | <td width="28%"> | |
1220 | ||
1221 | ||
1222 | <p>uint16*</p></td> | |
1223 | <td width="12%"> | |
1224 | </td></tr> | |
1225 | <tr valign="top" align="left"> | |
1226 | <td width="11%"></td> | |
1227 | <td width="38%"> | |
1228 | ||
1229 | ||
1230 | <p>TIFFTAG_RICHTIFFIPTC</p></td> | |
1231 | <td width="11%"></td> | |
1232 | <td width="28%"> | |
1233 | ||
1234 | ||
1235 | <p>2</p></td> | |
1236 | <td width="12%"> | |
1237 | </td></tr> | |
1238 | <tr valign="top" align="left"> | |
1239 | <td width="11%"></td> | |
1240 | <td width="38%"></td> | |
1241 | <td width="11%"></td> | |
1242 | <td width="28%"> | |
1243 | ||
1244 | ||
1245 | <p>uint32*,void**</p></td> | |
1246 | <td width="12%"> | |
1247 | ||
1248 | ||
1249 | <p>count, data</p></td></tr> | |
1250 | <tr valign="top" align="left"> | |
1251 | <td width="11%"></td> | |
1252 | <td width="38%"> | |
1253 | ||
1254 | ||
1255 | <p>TIFFTAG_ROWSPERSTRIP</p></td> | |
1256 | <td width="11%"></td> | |
1257 | <td width="28%"> | |
1258 | ||
1259 | ||
1260 | <p>1</p></td> | |
1261 | <td width="12%"> | |
1262 | </td></tr> | |
1263 | <tr valign="top" align="left"> | |
1264 | <td width="11%"></td> | |
1265 | <td width="38%"></td> | |
1266 | <td width="11%"></td> | |
1267 | <td width="28%"> | |
1268 | ||
1269 | ||
1270 | <p>uint32*</p></td> | |
1271 | <td width="12%"> | |
1272 | </td></tr> | |
1273 | <tr valign="top" align="left"> | |
1274 | <td width="11%"></td> | |
1275 | <td width="38%"> | |
1276 | ||
1277 | ||
1278 | <p>TIFFTAG_SAMPLEFORMAT</p></td> | |
1279 | <td width="11%"></td> | |
1280 | <td width="28%"> | |
1281 | ||
1282 | ||
1283 | <p>1</p></td> | |
1284 | <td width="12%"> | |
1285 | </td></tr> | |
1286 | <tr valign="top" align="left"> | |
1287 | <td width="11%"></td> | |
1288 | <td width="38%"></td> | |
1289 | <td width="11%"></td> | |
1290 | <td width="28%"> | |
1291 | ||
1292 | ||
1293 | <p>uint16*</p></td> | |
1294 | <td width="12%"> | |
1295 | </td></tr> | |
1296 | <tr valign="top" align="left"> | |
1297 | <td width="11%"></td> | |
1298 | <td width="38%"> | |
1299 | ||
1300 | ||
1301 | <p>TIFFTAG_SAMPLESPERPIXEL</p></td> | |
1302 | <td width="11%"></td> | |
1303 | <td width="28%"> | |
1304 | ||
1305 | ||
1306 | <p>1</p></td> | |
1307 | <td width="12%"> | |
1308 | </td></tr> | |
1309 | <tr valign="top" align="left"> | |
1310 | <td width="11%"></td> | |
1311 | <td width="38%"></td> | |
1312 | <td width="11%"></td> | |
1313 | <td width="28%"> | |
1314 | ||
1315 | ||
1316 | <p>uint16*</p></td> | |
1317 | <td width="12%"> | |
1318 | </td></tr> | |
1319 | <tr valign="top" align="left"> | |
1320 | <td width="11%"></td> | |
1321 | <td width="38%"> | |
1322 | ||
1323 | ||
1324 | <p>TIFFTAG_SMAXSAMPLEVALUE</p></td> | |
1325 | <td width="11%"></td> | |
1326 | <td width="28%"> | |
1327 | ||
1328 | ||
1329 | <p>1</p></td> | |
1330 | <td width="12%"> | |
1331 | </td></tr> | |
1332 | <tr valign="top" align="left"> | |
1333 | <td width="11%"></td> | |
1334 | <td width="38%"></td> | |
1335 | <td width="11%"></td> | |
1336 | <td width="28%"> | |
1337 | ||
1338 | ||
1339 | <p>double*</p></td> | |
1340 | <td width="12%"> | |
1341 | </td></tr> | |
1342 | <tr valign="top" align="left"> | |
1343 | <td width="11%"></td> | |
1344 | <td width="38%"> | |
1345 | ||
1346 | ||
1347 | <p>TIFFTAG_SMINSAMPLEVALUE</p></td> | |
1348 | <td width="11%"></td> | |
1349 | <td width="28%"> | |
1350 | ||
1351 | ||
1352 | <p>1</p></td> | |
1353 | <td width="12%"> | |
1354 | </td></tr> | |
1355 | <tr valign="top" align="left"> | |
1356 | <td width="11%"></td> | |
1357 | <td width="38%"></td> | |
1358 | <td width="11%"></td> | |
1359 | <td width="28%"> | |
1360 | ||
1361 | ||
1362 | <p>double*</p></td> | |
1363 | <td width="12%"> | |
1364 | </td></tr> | |
1365 | <tr valign="top" align="left"> | |
1366 | <td width="11%"></td> | |
1367 | <td width="38%"> | |
1368 | ||
1369 | ||
1370 | <p>TIFFTAG_SOFTWARE</p></td> | |
1371 | <td width="11%"></td> | |
1372 | <td width="28%"> | |
1373 | ||
1374 | ||
1375 | <p>1</p></td> | |
1376 | <td width="12%"> | |
1377 | </td></tr> | |
1378 | <tr valign="top" align="left"> | |
1379 | <td width="11%"></td> | |
1380 | <td width="38%"></td> | |
1381 | <td width="11%"></td> | |
1382 | <td width="28%"> | |
1383 | ||
1384 | ||
1385 | <p>char**</p></td> | |
1386 | <td width="12%"> | |
1387 | </td></tr> | |
1388 | <tr valign="top" align="left"> | |
1389 | <td width="11%"></td> | |
1390 | <td width="38%"> | |
1391 | ||
1392 | ||
1393 | <p>TIFFTAG_STONITS</p></td> | |
1394 | <td width="11%"></td> | |
1395 | <td width="28%"> | |
1396 | ||
1397 | ||
1398 | <p>1</p></td> | |
1399 | <td width="12%"> | |
1400 | </td></tr> | |
1401 | <tr valign="top" align="left"> | |
1402 | <td width="11%"></td> | |
1403 | <td width="38%"></td> | |
1404 | <td width="11%"></td> | |
1405 | <td width="28%"> | |
1406 | ||
1407 | ||
1408 | <p>double**</p></td> | |
1409 | <td width="12%"> | |
1410 | </td></tr> | |
1411 | <tr valign="top" align="left"> | |
1412 | <td width="11%"></td> | |
1413 | <td width="38%"> | |
1414 | ||
1415 | ||
1416 | <p>TIFFTAG_STRIPBYTECOUNTS</p></td> | |
1417 | <td width="11%"></td> | |
1418 | <td width="28%"> | |
1419 | ||
1420 | ||
1421 | <p>1</p></td> | |
1422 | <td width="12%"> | |
1423 | </td></tr> | |
1424 | <tr valign="top" align="left"> | |
1425 | <td width="11%"></td> | |
1426 | <td width="38%"></td> | |
1427 | <td width="11%"></td> | |
1428 | <td width="28%"> | |
1429 | ||
1430 | ||
1431 | <p>uint32**</p></td> | |
1432 | <td width="12%"> | |
1433 | </td></tr> | |
1434 | <tr valign="top" align="left"> | |
1435 | <td width="11%"></td> | |
1436 | <td width="38%"> | |
1437 | ||
1438 | ||
1439 | <p>TIFFTAG_STRIPOFFSETS</p></td> | |
1440 | <td width="11%"></td> | |
1441 | <td width="28%"> | |
1442 | ||
1443 | ||
1444 | <p>1</p></td> | |
1445 | <td width="12%"> | |
1446 | </td></tr> | |
1447 | <tr valign="top" align="left"> | |
1448 | <td width="11%"></td> | |
1449 | <td width="38%"></td> | |
1450 | <td width="11%"></td> | |
1451 | <td width="28%"> | |
1452 | ||
1453 | ||
1454 | <p>uint32**</p></td> | |
1455 | <td width="12%"> | |
1456 | </td></tr> | |
1457 | <tr valign="top" align="left"> | |
1458 | <td width="11%"></td> | |
1459 | <td width="38%"> | |
1460 | ||
1461 | ||
1462 | <p>TIFFTAG_SUBFILETYPE</p></td> | |
1463 | <td width="11%"></td> | |
1464 | <td width="28%"> | |
1465 | ||
1466 | ||
1467 | <p>1</p></td> | |
1468 | <td width="12%"> | |
1469 | </td></tr> | |
1470 | <tr valign="top" align="left"> | |
1471 | <td width="11%"></td> | |
1472 | <td width="38%"></td> | |
1473 | <td width="11%"></td> | |
1474 | <td width="28%"> | |
1475 | ||
1476 | ||
1477 | <p>uint32*</p></td> | |
1478 | <td width="12%"> | |
1479 | </td></tr> | |
1480 | <tr valign="top" align="left"> | |
1481 | <td width="11%"></td> | |
1482 | <td width="38%"> | |
1483 | ||
1484 | ||
1485 | <p>TIFFTAG_SUBIFD</p></td> | |
1486 | <td width="11%"></td> | |
1487 | <td width="28%"> | |
1488 | ||
1489 | ||
1490 | <p>2</p></td> | |
1491 | <td width="12%"> | |
1492 | </td></tr> | |
1493 | <tr valign="top" align="left"> | |
1494 | <td width="11%"></td> | |
1495 | <td width="38%"></td> | |
1496 | <td width="11%"></td> | |
1497 | <td width="28%"> | |
1498 | ||
1499 | ||
1500 | <p>uint16*,uint32**</p></td> | |
1501 | <td width="12%"> | |
1502 | ||
1503 | ||
1504 | <p>count & offsets array</p></td></tr> | |
1505 | <tr valign="top" align="left"> | |
1506 | <td width="11%"></td> | |
1507 | <td width="38%"> | |
1508 | ||
1509 | ||
1510 | <p>TIFFTAG_TARGETPRINTER</p></td> | |
1511 | <td width="11%"></td> | |
1512 | <td width="28%"> | |
1513 | ||
1514 | ||
1515 | <p>1</p></td> | |
1516 | <td width="12%"> | |
1517 | </td></tr> | |
1518 | <tr valign="top" align="left"> | |
1519 | <td width="11%"></td> | |
1520 | <td width="38%"></td> | |
1521 | <td width="11%"></td> | |
1522 | <td width="28%"> | |
1523 | ||
1524 | ||
1525 | <p>char**</p></td> | |
1526 | <td width="12%"> | |
1527 | </td></tr> | |
1528 | <tr valign="top" align="left"> | |
1529 | <td width="11%"></td> | |
1530 | <td width="38%"> | |
1531 | ||
1532 | ||
1533 | <p>TIFFTAG_THRESHHOLDING</p></td> | |
1534 | <td width="11%"></td> | |
1535 | <td width="28%"> | |
1536 | ||
1537 | ||
1538 | <p>1</p></td> | |
1539 | <td width="12%"> | |
1540 | </td></tr> | |
1541 | <tr valign="top" align="left"> | |
1542 | <td width="11%"></td> | |
1543 | <td width="38%"></td> | |
1544 | <td width="11%"></td> | |
1545 | <td width="28%"> | |
1546 | ||
1547 | ||
1548 | <p>uint16*</p></td> | |
1549 | <td width="12%"> | |
1550 | </td></tr> | |
1551 | <tr valign="top" align="left"> | |
1552 | <td width="11%"></td> | |
1553 | <td width="38%"> | |
1554 | ||
1555 | ||
1556 | <p>TIFFTAG_TILEBYTECOUNTS</p></td> | |
1557 | <td width="11%"></td> | |
1558 | <td width="28%"> | |
1559 | ||
1560 | ||
1561 | <p>1</p></td> | |
1562 | <td width="12%"> | |
1563 | </td></tr> | |
1564 | <tr valign="top" align="left"> | |
1565 | <td width="11%"></td> | |
1566 | <td width="38%"></td> | |
1567 | <td width="11%"></td> | |
1568 | <td width="28%"> | |
1569 | ||
1570 | ||
1571 | <p>uint32**</p></td> | |
1572 | <td width="12%"> | |
1573 | </td></tr> | |
1574 | <tr valign="top" align="left"> | |
1575 | <td width="11%"></td> | |
1576 | <td width="38%"> | |
1577 | ||
1578 | ||
1579 | <p>TIFFTAG_TILEDEPTH</p></td> | |
1580 | <td width="11%"></td> | |
1581 | <td width="28%"> | |
1582 | ||
1583 | ||
1584 | <p>1</p></td> | |
1585 | <td width="12%"> | |
1586 | </td></tr> | |
1587 | <tr valign="top" align="left"> | |
1588 | <td width="11%"></td> | |
1589 | <td width="38%"></td> | |
1590 | <td width="11%"></td> | |
1591 | <td width="28%"> | |
1592 | ||
1593 | ||
1594 | <p>uint32*</p></td> | |
1595 | <td width="12%"> | |
1596 | </td></tr> | |
1597 | <tr valign="top" align="left"> | |
1598 | <td width="11%"></td> | |
1599 | <td width="38%"> | |
1600 | ||
1601 | ||
1602 | <p>TIFFTAG_TILELENGTH</p></td> | |
1603 | <td width="11%"></td> | |
1604 | <td width="28%"> | |
1605 | ||
1606 | ||
1607 | <p>1</p></td> | |
1608 | <td width="12%"> | |
1609 | </td></tr> | |
1610 | <tr valign="top" align="left"> | |
1611 | <td width="11%"></td> | |
1612 | <td width="38%"></td> | |
1613 | <td width="11%"></td> | |
1614 | <td width="28%"> | |
1615 | ||
1616 | ||
1617 | <p>uint32*</p></td> | |
1618 | <td width="12%"> | |
1619 | </td></tr> | |
1620 | <tr valign="top" align="left"> | |
1621 | <td width="11%"></td> | |
1622 | <td width="38%"> | |
1623 | ||
1624 | ||
1625 | <p>TIFFTAG_TILEOFFSETS</p></td> | |
1626 | <td width="11%"></td> | |
1627 | <td width="28%"> | |
1628 | ||
1629 | ||
1630 | <p>1</p></td> | |
1631 | <td width="12%"> | |
1632 | </td></tr> | |
1633 | <tr valign="top" align="left"> | |
1634 | <td width="11%"></td> | |
1635 | <td width="38%"></td> | |
1636 | <td width="11%"></td> | |
1637 | <td width="28%"> | |
1638 | ||
1639 | ||
1640 | <p>uint32**</p></td> | |
1641 | <td width="12%"> | |
1642 | </td></tr> | |
1643 | <tr valign="top" align="left"> | |
1644 | <td width="11%"></td> | |
1645 | <td width="38%"> | |
1646 | ||
1647 | ||
1648 | <p>TIFFTAG_TILEWIDTH</p></td> | |
1649 | <td width="11%"></td> | |
1650 | <td width="28%"> | |
1651 | ||
1652 | ||
1653 | <p>1</p></td> | |
1654 | <td width="12%"> | |
1655 | </td></tr> | |
1656 | <tr valign="top" align="left"> | |
1657 | <td width="11%"></td> | |
1658 | <td width="38%"></td> | |
1659 | <td width="11%"></td> | |
1660 | <td width="28%"> | |
1661 | ||
1662 | ||
1663 | <p>uint32*</p></td> | |
1664 | <td width="12%"> | |
1665 | </td></tr> | |
1666 | <tr valign="top" align="left"> | |
1667 | <td width="11%"></td> | |
1668 | <td width="38%"> | |
1669 | ||
1670 | ||
1671 | <p>TIFFTAG_TRANSFERFUNCTION</p></td> | |
1672 | <td width="11%"></td> | |
1673 | <td width="28%"> | |
1674 | ||
1675 | ||
1676 | <p>1 or 3†</p></td> | |
1677 | <td width="12%"> | |
1678 | ||
1679 | ||
1680 | <p>uint16**1<<BitsPerSample entry arrays</p></td></tr> | |
1681 | <tr valign="top" align="left"> | |
1682 | <td width="11%"></td> | |
1683 | <td width="38%"> | |
1684 | ||
1685 | ||
1686 | <p>TIFFTAG_WHITEPOINT</p></td> | |
1687 | <td width="11%"></td> | |
1688 | <td width="28%"> | |
1689 | ||
1690 | ||
1691 | <p>1</p></td> | |
1692 | <td width="12%"> | |
1693 | </td></tr> | |
1694 | <tr valign="top" align="left"> | |
1695 | <td width="11%"></td> | |
1696 | <td width="38%"></td> | |
1697 | <td width="11%"></td> | |
1698 | <td width="28%"> | |
1699 | ||
1700 | ||
1701 | <p>float**</p></td> | |
1702 | <td width="12%"> | |
1703 | ||
1704 | ||
1705 | <p>2-entry array</p></td></tr> | |
1706 | <tr valign="top" align="left"> | |
1707 | <td width="11%"></td> | |
1708 | <td width="38%"> | |
1709 | ||
1710 | ||
1711 | <p>TIFFTAG_XMLPACKET</p></td> | |
1712 | <td width="11%"></td> | |
1713 | <td width="28%"> | |
1714 | ||
1715 | ||
1716 | <p>2</p></td> | |
1717 | <td width="12%"> | |
1718 | </td></tr> | |
1719 | <tr valign="top" align="left"> | |
1720 | <td width="11%"></td> | |
1721 | <td width="38%"></td> | |
1722 | <td width="11%"></td> | |
1723 | <td width="28%"> | |
1724 | ||
1725 | ||
1726 | <p>uint32*,void**</p></td> | |
1727 | <td width="12%"> | |
1728 | ||
1729 | ||
1730 | <p>count, data</p></td></tr> | |
1731 | <tr valign="top" align="left"> | |
1732 | <td width="11%"></td> | |
1733 | <td width="38%"> | |
1734 | ||
1735 | ||
1736 | <p>TIFFTAG_XPOSITION</p></td> | |
1737 | <td width="11%"></td> | |
1738 | <td width="28%"> | |
1739 | ||
1740 | ||
1741 | <p>1</p></td> | |
1742 | <td width="12%"> | |
1743 | </td></tr> | |
1744 | <tr valign="top" align="left"> | |
1745 | <td width="11%"></td> | |
1746 | <td width="38%"></td> | |
1747 | <td width="11%"></td> | |
1748 | <td width="28%"> | |
1749 | ||
1750 | ||
1751 | <p>float*</p></td> | |
1752 | <td width="12%"> | |
1753 | </td></tr> | |
1754 | <tr valign="top" align="left"> | |
1755 | <td width="11%"></td> | |
1756 | <td width="38%"> | |
1757 | ||
1758 | ||
1759 | <p>TIFFTAG_XRESOLUTION</p></td> | |
1760 | <td width="11%"></td> | |
1761 | <td width="28%"> | |
1762 | ||
1763 | ||
1764 | <p>1</p></td> | |
1765 | <td width="12%"> | |
1766 | </td></tr> | |
1767 | <tr valign="top" align="left"> | |
1768 | <td width="11%"></td> | |
1769 | <td width="38%"></td> | |
1770 | <td width="11%"></td> | |
1771 | <td width="28%"> | |
1772 | ||
1773 | ||
1774 | <p>float*</p></td> | |
1775 | <td width="12%"> | |
1776 | </td></tr> | |
1777 | <tr valign="top" align="left"> | |
1778 | <td width="11%"></td> | |
1779 | <td width="38%"> | |
1780 | ||
1781 | ||
1782 | <p>TIFFTAG_YCBCRCOEFFICIENTS</p></td> | |
1783 | <td width="11%"></td> | |
1784 | <td width="28%"> | |
1785 | ||
1786 | ||
1787 | <p>1</p></td> | |
1788 | <td width="12%"> | |
1789 | </td></tr> | |
1790 | <tr valign="top" align="left"> | |
1791 | <td width="11%"></td> | |
1792 | <td width="38%"></td> | |
1793 | <td width="11%"></td> | |
1794 | <td width="28%"> | |
1795 | ||
1796 | ||
1797 | <p>float**</p></td> | |
1798 | <td width="12%"> | |
1799 | ||
1800 | ||
1801 | <p>3-entry array</p></td></tr> | |
1802 | <tr valign="top" align="left"> | |
1803 | <td width="11%"></td> | |
1804 | <td width="38%"> | |
1805 | ||
1806 | ||
1807 | <p>TIFFTAG_YCBCRPOSITIONING</p></td> | |
1808 | <td width="11%"></td> | |
1809 | <td width="28%"> | |
1810 | ||
1811 | ||
1812 | <p>1</p></td> | |
1813 | <td width="12%"> | |
1814 | </td></tr> | |
1815 | <tr valign="top" align="left"> | |
1816 | <td width="11%"></td> | |
1817 | <td width="38%"></td> | |
1818 | <td width="11%"></td> | |
1819 | <td width="28%"> | |
1820 | ||
1821 | ||
1822 | <p>uint16*</p></td> | |
1823 | <td width="12%"> | |
1824 | </td></tr> | |
1825 | <tr valign="top" align="left"> | |
1826 | <td width="11%"></td> | |
1827 | <td width="38%"> | |
1828 | ||
1829 | ||
1830 | <p>TIFFTAG_YCBCRSUBSAMPLING</p></td> | |
1831 | <td width="11%"></td> | |
1832 | <td width="28%"> | |
1833 | ||
1834 | ||
1835 | <p>2</p></td> | |
1836 | <td width="12%"> | |
1837 | </td></tr> | |
1838 | <tr valign="top" align="left"> | |
1839 | <td width="11%"></td> | |
1840 | <td width="38%"></td> | |
1841 | <td width="11%"></td> | |
1842 | <td width="28%"> | |
1843 | ||
1844 | ||
1845 | <p>uint16*</p></td> | |
1846 | <td width="12%"> | |
1847 | </td></tr> | |
1848 | <tr valign="top" align="left"> | |
1849 | <td width="11%"></td> | |
1850 | <td width="38%"> | |
1851 | ||
1852 | ||
1853 | <p>TIFFTAG_YPOSITION</p></td> | |
1854 | <td width="11%"></td> | |
1855 | <td width="28%"> | |
1856 | ||
1857 | ||
1858 | <p>1</p></td> | |
1859 | <td width="12%"> | |
1860 | </td></tr> | |
1861 | <tr valign="top" align="left"> | |
1862 | <td width="11%"></td> | |
1863 | <td width="38%"></td> | |
1864 | <td width="11%"></td> | |
1865 | <td width="28%"> | |
1866 | ||
1867 | ||
1868 | <p>float*</p></td> | |
1869 | <td width="12%"> | |
1870 | </td></tr> | |
1871 | <tr valign="top" align="left"> | |
1872 | <td width="11%"></td> | |
1873 | <td width="38%"> | |
1874 | ||
1875 | ||
1876 | <p>TIFFTAG_YRESOLUTION</p></td> | |
1877 | <td width="11%"></td> | |
1878 | <td width="28%"> | |
1879 | ||
1880 | ||
1881 | <p>1</p></td> | |
1882 | <td width="12%"> | |
1883 | </td></tr> | |
1884 | <tr valign="top" align="left"> | |
1885 | <td width="11%"></td> | |
1886 | <td width="38%"></td> | |
1887 | <td width="11%"></td> | |
1888 | <td width="28%"> | |
1889 | ||
1890 | ||
1891 | <p>float*‡</p></td> | |
1892 | <td width="12%"> | |
1893 | </td></tr> | |
1894 | </table> | |
1895 | ||
1896 | <p style="margin-left:11%;">† If | |
1897 | <i>SamplesPerPixel</i> is one, then a single array is | |
1898 | returned; otherwise three arrays are returned. <br> | |
1899 | ‡ The contents of this field are quite complex. See | |
1900 | <i>The ICC Profile Format Specification</i>, Annex B.3 | |
1901 | "Embedding ICC Profiles in TIFF Files" (available | |
1902 | at http://www.color.org) for an explanation.</p> | |
1903 | ||
1904 | <h2>AUTOREGISTERED TAGS | |
1905 | <a name="AUTOREGISTERED TAGS"></a> | |
1906 | </h2> | |
1907 | ||
1908 | ||
1909 | <p style="margin-left:11%; margin-top: 1em">If you | |
1910 | can’t find the tag in the table above that means this | |
1911 | is unsupported tag. But you still be able to read it’s | |
1912 | value if you know the data type of that tag. For example, if | |
1913 | you want to read the LONG value from the tag 33424 and ASCII | |
1914 | string from the tag 36867 you can use the following | |
1915 | code:</p> | |
1916 | ||
1917 | <p style="margin-left:22%; margin-top: 1em">uint16 count; | |
1918 | <br> | |
1919 | void *data;</p> | |
1920 | ||
1921 | ||
1922 | <p style="margin-left:22%; margin-top: 1em">TIFFGetField(tiff, | |
1923 | 33424, &count, &data); <br> | |
1924 | printf("Tag %d: %d, count %d0, 33424, *(uint32 *)data, | |
1925 | count); <br> | |
1926 | TIFFGetField(tiff, 36867, &count, &data); <br> | |
1927 | printf("Tag %d: %s, count %d0, 36867, (char *)data, | |
1928 | count);</p> | |
1929 | ||
1930 | <p style="margin-left:11%; margin-top: 1em">is not | |
1931 | supported by <b>libtiff(3TIFF),</b> library</p> | |
1932 | ||
1933 | <h2>RETURN VALUES | |
1934 | <a name="RETURN VALUES"></a> | |
1935 | </h2> | |
1936 | ||
1937 | ||
1938 | <p style="margin-left:11%; margin-top: 1em">1 is returned | |
1939 | if the tag is defined in the current directory; otherwise a | |
1940 | 0 is returned.</p> | |
1941 | ||
1942 | <h2>DIAGNOSTICS | |
1943 | <a name="DIAGNOSTICS"></a> | |
1944 | </h2> | |
1945 | ||
1946 | ||
1947 | <p style="margin-left:11%; margin-top: 1em">All error | |
1948 | messages are directed to the <b>TIFFError</b>(3TIFF) | |
1949 | routine.</p> | |
1950 | ||
1951 | <p style="margin-left:11%; margin-top: 1em"><b>Unknown | |
1952 | field, tag 0x%x</b>. An unknown tag was supplied.</p> | |
1953 | ||
1954 | <h2>SEE ALSO | |
1955 | <a name="SEE ALSO"></a> | |
1956 | </h2> | |
1957 | ||
1958 | ||
1959 | ||
1960 | <p style="margin-left:11%; margin-top: 1em"><b>TIFFOpen</b>(3TIFF), | |
1961 | <b>TIFFSetField</b>(3TIFF), <b>TIFFSetDirectory</b>(3TIFF), | |
1962 | <b>TIFFReadDirectory</b>(3TIFF), | |
1963 | <b>TIFFWriteDirectory</b>(3TIFF) <b>libtiff</b>(3TIFF),</p> | |
1964 | ||
1965 | <p style="margin-left:11%; margin-top: 1em">Libtiff library | |
1966 | home page: <b>http://www.remotesensing.org/libtiff/</b></p> | |
1967 | <hr> | |
1968 | </body> | |
1969 | </html> |