Scalar types, file-header layouts, and TIFF field data types.
More...
|
| #define | TIFF_VERSION_CLASSIC 42 |
| | Identify the classic TIFF file format in a file header.
|
| |
| #define | TIFF_VERSION_BIG 43 |
| | Identify the BigTIFF file format in a file header.
|
| |
| #define | TIFF_BIGENDIAN 0x4d4d |
| | Identify big-endian TIFF byte order (the bytes MM).
|
| |
| #define | TIFF_LITTLEENDIAN 0x4949 |
| | Identify little-endian TIFF byte order (the bytes II).
|
| |
| #define | MDI_LITTLEENDIAN 0x5045 |
| | Microsoft Document Imaging signature bytes (EP) read on a little-endian host.
|
| |
| #define | MDI_BIGENDIAN 0x4550 |
| | Microsoft Document Imaging signature bytes (EP) read on a big-endian host.
|
| |
| #define | TIFF_GCC_DEPRECATED |
| | Mark legacy integer typedefs as deprecated on GNU-compatible compilers.
|
| |
| #define | TIFF_MSC_DEPRECATED |
| | Mark legacy integer typedefs as deprecated with Microsoft compilers.
|
| |
| #define | TIFF_TMSIZE_T_MAX (tmsize_t)(SIZE_MAX >> 1) |
| | Define the largest positive size representable by tmsize_t.
|
| |
|
| typedef int8_t | int8 |
| | Provide the legacy signed 8-bit integer type.
|
| |
| typedef uint8_t | uint8 |
| | Provide the legacy unsigned 8-bit integer type.
|
| |
| typedef int16_t | int16 |
| | Provide the legacy signed 16-bit integer type.
|
| |
| typedef uint16_t | uint16 |
| | Provide the legacy unsigned 16-bit integer type.
|
| |
| typedef int32_t | int32 |
| | Provide the legacy signed 32-bit integer type.
|
| |
| typedef uint32_t | uint32 |
| | Provide the legacy unsigned 32-bit integer type.
|
| |
| typedef int64_t | int64 |
| | Provide the legacy signed 64-bit integer type.
|
| |
| typedef uint64_t | uint64 |
| | Provide the legacy unsigned 64-bit integer type.
|
| |
| typedef int | uint16_vap |
| | Represent a uint16_t value after default variadic argument promotion.
|
| |
| typedef struct tiff | TIFF |
| | Refer to an opaque open TIFF library instance.
|
| |
| typedef TIFF_SSIZE_T | tmsize_t |
| | Represent a signed memory or I/O size in bytes.
|
| |
| typedef uint64_t | toff_t |
| | Represent an unsigned file byte offset independently of off_t.
|
| |
| typedef uint32_t | tdir_t |
| | Represent a zero-based directory index, rather than a file offset.
|
| |
| typedef uint32_t | ttag_t |
| | Represent a legacy directory tag identifier.
|
| |
| typedef uint16_t | tsample_t |
| | Represent a legacy sample index.
|
| |
| typedef uint32_t | tstrile_t |
| | Represent a legacy strip or tile index.
|
| |
| typedef tstrile_t | tstrip_t |
| | Represent a legacy strip index.
|
| |
| typedef tstrile_t | ttile_t |
| | Represent a legacy tile index.
|
| |
| typedef tmsize_t | tsize_t |
| | Represent a legacy signed I/O byte count.
|
| |
| typedef void * | tdata_t |
| | Represent a legacy untyped image-data pointer.
|
| |
| typedef void * | thandle_t |
| | Carry an opaque client I/O context through library callbacks.
|
| |
|
| enum | TIFFDataType {
TIFF_NOTYPE = 0
, TIFF_BYTE = 1
, TIFF_ASCII = 2
, TIFF_SHORT = 3
,
TIFF_LONG = 4
, TIFF_RATIONAL = 5
, TIFF_SBYTE = 6
, TIFF_UNDEFINED = 7
,
TIFF_SSHORT = 8
, TIFF_SLONG = 9
, TIFF_SRATIONAL = 10
, TIFF_FLOAT = 11
,
TIFF_DOUBLE = 12
, TIFF_IFD = 13
, TIFF_LONG8 = 16
, TIFF_SLONG8 = 17
,
TIFF_IFD8 = 18
} |
| | Identify the on-disk representation of a TIFF directory field. More...
|
| |
Scalar types, file-header layouts, and TIFF field data types.
◆ MDI_BIGENDIAN
| #define MDI_BIGENDIAN 0x4550 |
Microsoft Document Imaging signature bytes (EP) read on a big-endian host.
Both MDI constants describe the same on-disk bytes. When MDI_SUPPORT is enabled, the reader compares the constant matching the host byte order. MDI data is always little-endian.
Definition at line 82 of file tiff.h.
◆ MDI_LITTLEENDIAN
| #define MDI_LITTLEENDIAN 0x5045 |
Microsoft Document Imaging signature bytes (EP) read on a little-endian host.
Definition at line 73 of file tiff.h.
◆ TIFF_BIGENDIAN
| #define TIFF_BIGENDIAN 0x4d4d |
Identify big-endian TIFF byte order (the bytes MM).
Definition at line 66 of file tiff.h.
◆ TIFF_GCC_DEPRECATED
| #define TIFF_GCC_DEPRECATED |
Mark legacy integer typedefs as deprecated on GNU-compatible compilers.
Expands to an attribute when supported and to nothing otherwise.
Definition at line 101 of file tiff.h.
◆ TIFF_LITTLEENDIAN
| #define TIFF_LITTLEENDIAN 0x4949 |
Identify little-endian TIFF byte order (the bytes II).
Definition at line 68 of file tiff.h.
◆ TIFF_MSC_DEPRECATED
| #define TIFF_MSC_DEPRECATED |
Mark legacy integer typedefs as deprecated with Microsoft compilers.
Expands to a declaration specifier when supported and to nothing otherwise.
Definition at line 112 of file tiff.h.
◆ TIFF_TMSIZE_T_MAX
| #define TIFF_TMSIZE_T_MAX (tmsize_t)(SIZE_MAX >> 1) |
Define the largest positive size representable by tmsize_t.
Definition at line 91 of file tiffio.h.
◆ TIFF_VERSION_BIG
| #define TIFF_VERSION_BIG 43 |
Identify the BigTIFF file format in a file header.
Definition at line 63 of file tiff.h.
◆ TIFF_VERSION_CLASSIC
| #define TIFF_VERSION_CLASSIC 42 |
Identify the classic TIFF file format in a file header.
Definition at line 61 of file tiff.h.
◆ int16
Provide the legacy signed 16-bit integer type.
- Deprecated:
- Use int16_t instead.
Definition at line 125 of file tiff.h.
◆ int32
Provide the legacy signed 32-bit integer type.
- Deprecated:
- Use int32_t instead.
Definition at line 132 of file tiff.h.
◆ int64
Provide the legacy signed 64-bit integer type.
- Deprecated:
- Use int64_t instead.
Definition at line 139 of file tiff.h.
◆ int8
Provide the legacy signed 8-bit integer type.
- Deprecated:
- Use int8_t instead.
Definition at line 118 of file tiff.h.
◆ tdata_t
Represent a legacy untyped image-data pointer.
- Deprecated:
- Use void * instead.
Definition at line 120 of file tiffio.h.
◆ tdir_t
Represent a zero-based directory index, rather than a file offset.
Definition at line 96 of file tiffio.h.
◆ thandle_t
Carry an opaque client I/O context through library callbacks.
The client-open interface defines ownership and lifetime; this typedef does not allocate, retain, or release the referenced object.
Definition at line 161 of file tiffio.h.
◆ TIFF
Refer to an opaque open TIFF library instance.
Obtain handles through the open or client-open interfaces. Handle ownership and the lifetime of client I/O objects are defined by those interfaces. TIFFClose() or TIFFCleanup() invalidates the handle and pointers to storage owned by it. Applications must not access the private struct tiff layout.
Definition at line 54 of file tiffio.h.
◆ tmsize_t
Represent a signed memory or I/O size in bytes.
Has the addressing width of the build platform. Signedness permits negative error sentinels; the meaning of a negative value depends on the interface.
Definition at line 89 of file tiffio.h.
◆ toff_t
Represent an unsigned file byte offset independently of off_t.
Definition at line 94 of file tiffio.h.
◆ tsample_t
◆ tsize_t
Represent a legacy signed I/O byte count.
- Deprecated:
- Use tmsize_t instead.
Definition at line 117 of file tiffio.h.
◆ tstrile_t
Represent a legacy strip or tile index.
- Deprecated:
- Use uint32_t instead.
Definition at line 108 of file tiffio.h.
◆ tstrip_t
◆ ttag_t
Represent a legacy directory tag identifier.
- Deprecated:
- Use uint32_t instead.
Definition at line 102 of file tiffio.h.
◆ ttile_t
◆ uint16
Provide the legacy unsigned 16-bit integer type.
- Deprecated:
- Use uint16_t instead.
Definition at line 128 of file tiff.h.
◆ uint16_vap
Represent a uint16_t value after default variadic argument promotion.
The typedef names the conceptual unsigned 16-bit value; the argument is passed as int in a variadic call on the supported platforms.
Definition at line 159 of file tiff.h.
◆ uint32
Provide the legacy unsigned 32-bit integer type.
- Deprecated:
- Use uint32_t instead.
Definition at line 135 of file tiff.h.
◆ uint64
Provide the legacy unsigned 64-bit integer type.
- Deprecated:
- Use uint64_t instead.
Definition at line 142 of file tiff.h.
◆ uint8
Provide the legacy unsigned 8-bit integer type.
- Deprecated:
- Use uint8_t instead.
Definition at line 121 of file tiff.h.
◆ TIFFDataType
Identify the on-disk representation of a TIFF directory field.
RATIONAL and SRATIONAL store a pair of 32-bit integers, not an IEEE double. API argument types need not equal these storage types; use the contracts of the field accessors for variadic argument types and counts.
TIFF_IFD8 in an internal field definition permits format-dependent directory offset writing: the writer uses TIFF_IFD and 32-bit offsets for classic TIFF, and TIFF_IFD8 and 64-bit offsets for BigTIFF.
TIFF_SBYTE through TIFF_DOUBLE were introduced in TIFF 6.0, TIFF_IFD after TIFF 6.0, and TIFF_LONG8, TIFF_SLONG8 and TIFF_IFD8 by BigTIFF.
| Enumerator |
|---|
| TIFF_NOTYPE | Placeholder for an unspecified field type.
|
| TIFF_BYTE | Unsigned 8-bit integer.
|
| TIFF_ASCII | Sequence of 8-bit bytes ending in a null byte.
|
| TIFF_SHORT | Unsigned 16-bit integer.
|
| TIFF_LONG | Unsigned 32-bit integer.
|
| TIFF_RATIONAL | Unsigned 32-bit numerator and denominator.
|
| TIFF_SBYTE | Signed 8-bit integer.
|
| TIFF_UNDEFINED | Untyped 8-bit data.
|
| TIFF_SSHORT | Signed 16-bit integer.
|
| TIFF_SLONG | Signed 32-bit integer.
|
| TIFF_SRATIONAL | Signed 32-bit numerator and denominator.
|
| TIFF_FLOAT | 32-bit IEEE floating-point value.
|
| TIFF_DOUBLE | 64-bit IEEE floating-point value.
|
| TIFF_IFD | Unsigned 32-bit IFD byte offset.
|
| TIFF_LONG8 | BigTIFF unsigned 64-bit integer.
|
| TIFF_SLONG8 | BigTIFF signed 64-bit integer.
|
| TIFF_IFD8 | BigTIFF unsigned 64-bit IFD byte offset.
|
Definition at line 228 of file tiff.h.