---
name: "TIFFPrintDirectory"
section: "3t"
platform: "linux"
package: "libtiff3g-dev"
version: "3.5.5-6.woody5"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/TIFFPrintDirectory"
---

# TIFFPrintDirectory(3t)

print a description of a TIFF directory

## NAME

TIFFPrintDirectory - print a description of a TIFF directory

## SYNOPSIS

**#include \<tiffio.h\>**\
 **void TIFFPrintDirectory(TIFF\* tif, FILE\* fd, long flags)**

## 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 bit-or of the flags defined in **tiffio.h**:

```
#define	TIFFPRINT_NONE	0x0	/* no extra info */
#define	TIFFPRINT_STRIPS	0x1	/* strips/tiles info */
#define	TIFFPRINT_CURVES	0x2	/* color/gray response curves */
#define	TIFFPRINT_COLORMAP	0x4	/* colormap */
#define	TIFFPRINT_JPEGQTABLES	0x100	/* JPEG Q matrices */
#define	TIFFPRINT_JPEGACTABLES	0x200	/* JPEG AC tables */
#define	TIFFPRINT_JPEGDCTABLES	0x200	/* JPEG DC tables */
```

## NOTES

In C++ the *flags* parameter defaults to 0.

## RETURN VALUES

None.

## DIAGNOSTICS

None.

## SEE ALSO

*libtiff*(3T), *TIFFOpen*(3T), *TIFFReadDirectory*(3T), *TIFFSetDirectory*(3T)
