Registry / other / tiff
library4.7.1vcpkgunverified

A library for reading and writing Tagged Image File Format (TIFF) files.

vcpkg install tiff
INSTALL
IMPORT
SIG · TIFF
T
tiff
othercppv4.7.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tiffio.h
✓ #include <tiffio.h>

Open a TIFF file and read its dimensions.

#include <tiffio.h> #include <iostream> int main() { TIFF* tif = TIFFOpen("image.tif", "r"); if (tif) { uint32_t w, h; TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &w); TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &h); std::cout << "Image size: " << w << "x" << h << std::endl; TIFFClose(tif); } return 0; }
Debug
Known issues
breakinglibtiff has multiple incompatible major versions (e.g., 3.x vs 4.x) with different APIs.
fix
Ensure you link against the correct version and use the corresponding header files.
affects: >=3.0.0
Upgrade
Version history
4.7.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources

No resource links recorded.

tiff — pip install tiff · libregistry