|
| #define | TIFFPRINT_NONE 0x0 /* no extra info */ |
| | Request no optional large-data expansions in TIFFPrintDirectory().
|
| |
| #define | TIFFPRINT_STRIPS 0x1 /* strips/tiles info */ |
| | Include strip/tile offsets and byte counts in directory printing.
|
| |
| #define | TIFFPRINT_CURVES 0x2 /* color/gray response curves */ |
| | Include transfer-function curves in directory printing.
|
| |
| #define | TIFFPRINT_COLORMAP 0x4 /* colormap */ |
| | Include palette entries in directory printing.
|
| |
| #define | TIFFPRINT_JPEGQTABLES 0x100 /* JPEG Q matrices */ |
| | Retain the legacy JPEG quantisation-table print flag.
|
| |
| #define | TIFFPRINT_JPEGACTABLES 0x200 /* JPEG AC tables */ |
| | Retain the legacy JPEG AC-table print flag.
|
| |
| #define | TIFFPRINT_JPEGDCTABLES 0x200 /* JPEG DC tables */ |
| | Retain the legacy JPEG DC-table print flag.
|
| |
| #define | D65_X0 (95.0470f) |
| | Define the D65 reference-white X coordinate, scaled to Y = 100.
|
| |
| #define | D65_Y0 (100.0f) |
| | Define the D65 reference-white Y coordinate (100).
|
| |
| #define | D65_Z0 (108.8827f) |
| | Define the D65 reference-white Z coordinate, scaled to Y = 100.
|
| |
| #define | D50_X0 (96.4250f) |
| | Define the D50 reference-white X coordinate, scaled to Y = 100.
|
| |
| #define | D50_Y0 (100.0f) |
| | Define the D50 reference-white Y coordinate (100).
|
| |
| #define | D50_Z0 (82.4680f) |
| | Define the D50 reference-white Z coordinate, scaled to Y = 100.
|
| |
| #define | CIELABTORGB_TABLE_RANGE 1500 |
| | Define the largest CIE L*a*b*-to-RGB lookup-table index.
|
| |
| #define | TIFFGetR(abgr) ((abgr) & 0xff) |
| | Extract the red byte from a packed ABGR pixel value.
|
| |
| #define | TIFFGetG(abgr) (((abgr) >> 8) & 0xff) |
| | Extract the green byte from a packed ABGR pixel value.
|
| |
| #define | TIFFGetB(abgr) (((abgr) >> 16) & 0xff) |
| | Extract the blue byte from a packed ABGR pixel value.
|
| |
| #define | TIFFGetA(abgr) (((abgr) >> 24) & 0xff) |
| | Extract the alpha byte from a packed ABGR pixel value.
|
| |
| #define | LOGLUV_PUBLIC 1 |
| | Control declaration of shared LogLuv conversion functions.
|
| |
| #define | TIFF_ATTRIBUTE(x) /*nothing*/ |
| | Expand a compiler attribute in a public declaration when supported.
|
| |
| #define | TIFF_ANY TIFF_NOTYPE /* for field descriptor searching */ |
| | Match any data type when searching for a field descriptor.
|
| |
| #define | TIFF_VARIABLE -1 /* marker for variable length tags */ |
| | Mark a variable-length field with a 16-bit count convention.
|
| |
| #define | TIFF_SPP -2 /* marker for SamplesPerPixel tags */ |
| | Mark a field whose count follows SamplesPerPixel.
|
| |
| #define | TIFF_VARIABLE2 -3 /* marker for uint32_t var-length tags */ |
| | Mark a variable-length field with a 32-bit count convention.
|
| |
| #define | FIELD_CUSTOM 65 |
| | Identify a field stored through the custom-metadata mechanism.
|
| |
Describe supporting data layouts, flags, and packed-pixel accessors.
Structures are documented here as data representations. Callable callback contracts and the operations that initialise and consume each structure are documented with their owning modules.
| #define TIFFGetA |
( |
|
abgr | ) |
(((abgr) >> 24) & 0xff) |
Extract the alpha byte from a packed ABGR pixel value.
Operates on the numeric pixel value, independently of its byte layout in memory. The argument is evaluated once; the macro performs no allocation, I/O, or library-state changes and has no failure result.
- Parameters
-
| [in] | abgr | Unsigned 32-bit packed pixel, as returned by the RGBA reader. |
- Returns
- The alpha channel in the range 0 through 255.
Definition at line 670 of file tiffio.h.
| #define TIFFGetB |
( |
|
abgr | ) |
(((abgr) >> 16) & 0xff) |
Extract the blue byte from a packed ABGR pixel value.
Operates on the numeric pixel value, independently of its byte layout in memory. The argument is evaluated once; the macro performs no allocation, I/O, or library-state changes and has no failure result.
- Parameters
-
| [in] | abgr | Unsigned 32-bit packed pixel, as returned by the RGBA reader. |
- Returns
- The blue channel in the range 0 through 255.
Definition at line 658 of file tiffio.h.
| #define TIFFGetG |
( |
|
abgr | ) |
(((abgr) >> 8) & 0xff) |
Extract the green byte from a packed ABGR pixel value.
Operates on the numeric pixel value, independently of its byte layout in memory. The argument is evaluated once; the macro performs no allocation, I/O, or library-state changes and has no failure result.
- Parameters
-
| [in] | abgr | Unsigned 32-bit packed pixel, as returned by the RGBA reader. |
- Returns
- The green channel in the range 0 through 255.
Definition at line 646 of file tiffio.h.
| #define TIFFGetR |
( |
|
abgr | ) |
((abgr) & 0xff) |
Extract the red byte from a packed ABGR pixel value.
Operates on the numeric pixel value, independently of its byte layout in memory. The argument is evaluated once; the macro performs no allocation, I/O, or library-state changes and has no failure result.
- Parameters
-
| [in] | abgr | Unsigned 32-bit packed pixel, as returned by the RGBA reader. |
- Returns
- The red channel in the range 0 through 255.
Definition at line 634 of file tiffio.h.