DOKK / manpages / debian 11 / libtiff-dev / TIFFFlush.3tiff.en
TIFFFlush(3TIFF) TIFFFlush(3TIFF)

TIFFFlush, TIFFFlushData - flush pending writes to an open TIFF file

#include <tiffio.h>

int TIFFFlush(TIFF *tif)
int TIFFFlushData(TIFF *tif)

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.

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

All error messages are directed to the TIFFError(3TIFF) routine.

TIFFOpen(3TIFF), TIFFWriteEncodedStrip(3TIFF), TIFFWriteEncodedTile(3TIFF), TIFFWriteRawStrip(3TIFF), TIFFWriteRawTile(3TIFF), TIFFWriteScanline(3TIFF), TIFFWriteTile(3TIFF) libtiff(3TIFF),

Libtiff library home page: http://www.simplesystems.org/libtiff/

December 16, 1991 libtiff