LibTIFF 4.7.2
TIFF library public API and implementation reference
Loading...
Searching...
No Matches
Data Fields
TIFFFieldInfo Struct Reference

Describe a tag using the legacy field-registration interface. More...

#include <tiffio.h>

Data Fields

uint32_t field_tag
 Numeric tag identifier.
 
short field_readcount
 Expected read count, or a TIFF_VARIABLE, TIFF_VARIABLE2, or TIFF_SPP marker.
 
short field_writecount
 Expected write count, or a variable/per-sample count marker.
 
TIFFDataType field_type
 On-disk TIFFDataType.
 
unsigned short field_bit
 Field-presence bit; use FIELD_CUSTOM for custom fields.
 
unsigned char field_oktochange
 Nonzero if the field may change after writing has begun.
 
unsigned char field_passcount
 Nonzero if a count argument accompanies the value in field access calls.
 
const char * field_name
 Borrowed null-terminated tag name; keep valid while registered.
 

Detailed Description

Describe a tag using the legacy field-registration interface.

TIFFMergeFieldInfo() converts these records to private field descriptors but retains non-NULL name pointers. Do not release name storage while the descriptors can still be used. This legacy interface is marked obsolete in the public header; field-access argument types and counts are documented with directories.

Definition at line 5530 of file tiffio.h.

Field Documentation

◆ field_bit

unsigned short TIFFFieldInfo::field_bit

Field-presence bit; use FIELD_CUSTOM for custom fields.

Definition at line 5546 of file tiffio.h.

Referenced by TIFFMergeFieldInfo().

◆ field_name

const char* TIFFFieldInfo::field_name

Borrowed null-terminated tag name; keep valid while registered.

Definition at line 5558 of file tiffio.h.

Referenced by TIFFMergeFieldInfo().

◆ field_oktochange

unsigned char TIFFFieldInfo::field_oktochange

Nonzero if the field may change after writing has begun.

Definition at line 5548 of file tiffio.h.

Referenced by TIFFMergeFieldInfo().

◆ field_passcount

unsigned char TIFFFieldInfo::field_passcount

Nonzero if a count argument accompanies the value in field access calls.

Definition at line 5553 of file tiffio.h.

Referenced by TIFFMergeFieldInfo().

◆ field_readcount

short TIFFFieldInfo::field_readcount

Expected read count, or a TIFF_VARIABLE, TIFF_VARIABLE2, or TIFF_SPP marker.

Definition at line 5538 of file tiffio.h.

Referenced by TIFFMergeFieldInfo().

◆ field_tag

uint32_t TIFFFieldInfo::field_tag

Numeric tag identifier.

Definition at line 5533 of file tiffio.h.

Referenced by TIFFMergeFieldInfo().

◆ field_type

TIFFDataType TIFFFieldInfo::field_type

On-disk TIFFDataType.

Definition at line 5544 of file tiffio.h.

Referenced by TIFFMergeFieldInfo().

◆ field_writecount

short TIFFFieldInfo::field_writecount

Expected write count, or a variable/per-sample count marker.

Definition at line 5542 of file tiffio.h.

Referenced by TIFFMergeFieldInfo().


The documentation for this struct was generated from the following file: