|
LibTIFF 4.7.2
TIFF library public API and implementation reference
|
Identify the headers used to compile and the library loaded at runtime. More...
Macros | |
| #define | TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.2\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc." |
| Define the library version and copyright banner as a string literal. | |
| #define | TIFFLIB_VERSION 20260627 |
| Define the release date as a decimal YYYYMMDD integer. | |
| #define | TIFFLIB_MAJOR_VERSION 4 |
| Define the major release version number. | |
| #define | TIFFLIB_MINOR_VERSION 7 |
| Define the minor release version number. | |
| #define | TIFFLIB_MICRO_VERSION 2 |
| Define the micro release version number. | |
| #define | TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.2" |
| Define the release version string without the copyright banner. | |
| #define | TIFFLIB_AT_LEAST(major, minor, micro) |
| Test whether the compile-time version is at least a given release. | |
Functions | |
| const char * | TIFFGetVersion (void) |
| Return the version and copyright banner of the loaded library. | |
Identify the headers used to compile and the library loaded at runtime.
| #define TIFFLIB_AT_LEAST | ( | major, | |
| minor, | |||
| micro | |||
| ) |
Test whether the compile-time version is at least a given release.
Compares the major, minor, and micro components lexicographically; it does not inspect the loaded library or distinguish prerelease suffixes. Usable in preprocessor conditionals. Arguments can be evaluated more than once; pass integer version components without side effects.
| [in] | major | Major version component to compare against. |
| [in] | minor | Minor version component to compare against. |
| [in] | micro | Micro version component to compare against. |
Definition at line 67 of file tiffvers.h.
| #define TIFFLIB_MAJOR_VERSION 4 |
| #define TIFFLIB_MICRO_VERSION 2 |
| #define TIFFLIB_MINOR_VERSION 7 |
| #define TIFFLIB_VERSION 20260627 |
Define the release date as a decimal YYYYMMDD integer.
This historical version marker supports date-based compile-time checks. Prefer TIFFLIB_AT_LEAST() for comparisons of release version numbers.
Definition at line 32 of file tiffvers.h.
| #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.2\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc." |
Define the library version and copyright banner as a string literal.
Includes embedded newlines. TIFFGetVersion() returns the corresponding banner compiled into the loaded library.
Definition at line 25 of file tiffvers.h.
| #define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.2" |
Define the release version string without the copyright banner.
Definition at line 49 of file tiffvers.h.
|
extern |
Return the version and copyright banner of the loaded library.
The banner identifies the runtime library, which can differ from the headers used to compile an application. It contains embedded newlines. No I/O, allocation, state changes, or diagnostic callbacks occur.
Definition at line 41 of file tif_version.c.
References TIFFVersion.