TIFFFlush(3tiff)

TIFFFlush3tiff

Flush pending writes to an open tiff file

Usage

#include <tiffio.h>
int TIFFFlush(TIFF *tif)
int TIFFFlushData(TIFF *tif)

Overview

TIFFFlush() causes any pending writes for the specified file (including writes for the current directory) to be done. In normal operation this call is never needed—the library automatically does any flushing required.

TIFFFlushData() flushes any pending image data for the specified file to be written out; directory-related data are not flushed. In normal operation this call is never needed—the library automatically does any flushing required.

Return values

0 is returned if an error is encountered, otherwise 1 is returned.

Diagnostics

All error messages are directed to the TIFFErrorExtR() routine.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0–7
  3. 8
  4. 9
  5. 10–11
  6. 12
  7. 13

Author

LibTIFF contributors

From libtiff-dev 4.7.0-3+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.