File: TIFFFieldTag.rst

package info (click to toggle)
tiff 4.7.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 9,704 kB
  • sloc: ansic: 92,024; makefile: 966; cpp: 964; sh: 964; python: 151
file content (40 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
TIFFFieldTag
============

Synopsis
--------

.. highlight:: c

::

    #include <tiffio.h>

.. c:function:: uint32_t TIFFFieldTag(const TIFFField* fip)

Description
-----------

:c:func:`TIFFFieldTag` returns the numeric tag value for a TIFF field.
This can be compared to various constants exported by the :program:`libtiff`
header files, such as :c:macro:`TIFFTAG_IMAGEWIDTH`.

*fip* is a field information pointer previously returned by
:c:func:`TIFFFindField`, :c:func:`TIFFFieldWithTag`, or
:c:func:`TIFFFieldWithName`.

Return values
-------------

:c:func:`TIFFFieldTag` returns an integer tag value.

See also
--------

:doc:`TIFFFieldDataType` (3tiff),
:doc:`TIFFFieldName` (3tiff),
:doc:`TIFFFieldPassCount` (3tiff),
:doc:`TIFFFieldQuery` (3tiff),
:doc:`TIFFFieldReadCount` (3tiff),
:doc:`TIFFFieldWriteCount` (3tiff),
:doc:`libtiff` (3tiff)