---
name: "TIFFClose"
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/TIFFClose"
---

# TIFFClose(3t)

close a previously opened TIFF file

## NAME

TIFFClose - close a previously opened TIFF file

## SYNOPSIS

**#include \<tiffio.h\>**\
 **void TIFFClose(TIFF\* tif)**

## DESCRIPTION

*TIFFClose* closes a file that was previously opened with *TIFFOpen*(3T). Any buffered data are flushed to the file, including the contents of the current directory (if modified); and all resources are reclaimed.

## DIAGNOSTICS

All error messages are directed to the *TIFFError*(3T) routine. Likewise, warning messages are directed to the *TIFFWarning*(3T) routine.

## SEE ALSO

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