TIFFFlush(3tiff)TIFFFlush(3tiff)NAME
TIFFFlush, TIFFFlushData - flush pending writes to an open TIFF file
SYNOPSIS
#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 performed. In normal operation,
this call is never needed, because the library automatically performs
any flushing required.
TIFFFlushData causes any pending image data for the specified file to
be written out. Directory-related data is not flushed. In normal opera‐
tion, this call is never needed, because the library automatically per‐
forms any flushing required.
All error messages are directed to the TIFFError(3tiff) routine.
0 is returned if an error is encountered. Otherwise, 1 is returned.
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │image/library/libtiff │
├─────────────────────────────┼─────────────────────────────┤
│Interface stability │Uncommitted │
└─────────────────────────────┴─────────────────────────────┘
libtiff(3), TIFFOpen(3tiff), TIFFWriteEncodedStrip(3tiff), TIFFWriteEn‐
codedTile(3tiff), TIFFWriteRawStrip(3tiff), TIFFWriteRawTile(3tiff),
TIFFWriteScanline(3tiff), TIFFWriteTile(3tiff)
This man page was originally written by Sam Leffler. Updated by Breda
McColgan, Sun Microsystems Inc., 2004.
05 Apr 2004 TIFFFlush(3tiff)