TIFFPrintDirectory - print a description of a TIFF directory
Contents
Copyright
1988-2022, LibTIFF contributors
4.7 Apr 30, 2025 TIFFPRINTDIRECTORY(3tiff)
Description
TIFFPrintDirectory() prints a description of the current directory in the specified TIFF file to the
standard I/O output stream fd. The flags parameter is used to control the "level of detail" of the
printed information; it is a bitwise-or of the flags defined in tiffio.h:
┌────────────────────────┬───────┬────────────────────────────┐
│ Name │ Value │ Description │
├────────────────────────┼───────┼────────────────────────────┤
│ TIFFPRINT_NONE │ 0x0 │ no extra info │
├────────────────────────┼───────┼────────────────────────────┤
│ TIFFPRINT_STRIPS │ 0x1 │ strips/tiles info │
├────────────────────────┼───────┼────────────────────────────┤
│ TIFFPRINT_CURVES │ 0x2 │ color/gray response curves │
├────────────────────────┼───────┼────────────────────────────┤
│ TIFFPRINT_COLORMAP │ 0x4 │ colormap │
├────────────────────────┼───────┼────────────────────────────┤
│ TIFFPRINT_JPEGQTABLES │ 0x100 │ JPEG Q matrices │
├────────────────────────┼───────┼────────────────────────────┤
│ TIFFPRINT_JPEGACTABLES │ 0x200 │ JPEG AC tables │
├────────────────────────┼───────┼────────────────────────────┤
│ TIFFPRINT_JPEGDCTABLES │ 0x200 │ JPEG DC tables │
└────────────────────────┴───────┴────────────────────────────┘
Diagnostics
None.
Name
TIFFPrintDirectory - print a description of a TIFF directory
Notes
In C++ the flags parameter defaults to 0.
Return Values
None.
See Also
libtiff (3tiff), TIFFOpen (3tiff), TIFFReadDirectory (3tiff), TIFFSetDirectory (3tiff)
Synopsis
#include <tiffio.h>
voidTIFFPrintDirectory(TIFF*tif,FILE*fd,longflags)