TIFFFlush - flush pending writes to an open TIFF file
Contents
Copyright
1988-2022, LibTIFF contributors
4.7 Apr 30, 2025 TIFFFLUSH(3tiff)
Description
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.
Diagnostics
All error messages are directed to the TIFFErrorExtR() routine.
Name
TIFFFlush - flush pending writes to an open TIFF file
Return Values
0 is returned if an error is encountered, otherwise 1 is returned.
See Also
TIFFOpen (3tiff), TIFFWriteEncodedStrip (3tiff), TIFFWriteEncodedTile (3tiff), TIFFWriteRawStrip (3tiff),
TIFFWriteRawTile (3tiff), TIFFWriteScanline (3tiff), TIFFWriteTile (3tiff), libtiff (3tiff)
Synopsis
#include <tiffio.h>
intTIFFFlush(TIFF*tif)intTIFFFlushData(TIFF*tif)