table of contents
- bookworm 4.5.0-6+deb12u1
- testing 4.5.1+git230720-5
- unstable 4.5.1+git230720-5
- experimental 4.6.0-2
TIFFFIELDQUERY(3tiff) | LibTIFF | TIFFFIELDQUERY(3tiff) |
NAME¶
TIFFFieldQuery - routines to query TIFF field information
SYNOPSIS¶
#include <tiffio.h>
DESCRIPTION¶
TIFFFieldWithName() and TIFFFieldWithTag() return a pointer to TIFF field information structure fip by the tag's field_name or its tag number.
TIFFFindField() searches for the TIFF field information structure fip of a given tag number and a specific TIFFDataType dt. With dt== TIFF_ANY the behaviour is the same than for TIFFFieldWithTag().
The following routines return status information about TIFF fields.
TIFFFieldIsAnonymous() returns true (nonzero) if the field, read from file, is unknown to libtiff and a anonymous field has been auto-registered. Return is zero "0" if field is known to libtiff. See Default Tag Auto-registration for more information.
TIFFFieldSetGetSize() returns the data size in bytes of the field data type used for libtiff internal storage. This is also the data size of the parameter to be provided to TIFFSetField() and TIFFGetField(). Custom TIFF_RATIONAL values can be stored internally either as float or double. TIFFFieldSetGetSize() would then return "4" or "8", respectively.
TIFFFieldSetGetCountSize() returns size of count parameter of TIFFSetField() and TIFFGetField() and also if it is required: 0=none, 2= uint16_t, 4= uint32_t
DIAGNOSTICS¶
None.
SEE ALSO¶
libtiff (3tiff)
AUTHOR¶
LibTIFF contributors
COPYRIGHT¶
1988-2023, LibTIFF contributors
November 23, 2023 | 4.5 |