| 1 |
TIFFFlush |
| 2 |
========= |
| 3 |
|
| 4 |
Synopsis |
| 5 |
-------- |
| 6 |
|
| 7 |
.. highlight:: c |
| 8 |
|
| 9 |
:: |
| 10 |
|
| 11 |
#include <tiffio.h> |
| 12 |
|
| 13 |
.. c:function:: int TIFFFlush(TIFF* tif) |
| 14 |
|
| 15 |
.. c:function:: int TIFFFlushData(TIFF* tif) |
| 16 |
|
| 17 |
Description |
| 18 |
----------- |
| 19 |
|
| 20 |
:c:func:`TIFFFlush` causes any pending writes for the specified file |
| 21 |
(including writes for the current directory) to be done. In normal |
| 22 |
operation this call is never needed—the library automatically does |
| 23 |
any flushing required. |
| 24 |
|
| 25 |
:c:func:`TIFFFlushData` flushes any pending image data for the specified |
| 26 |
file to be written out; directory-related data are not flushed. In normal |
| 27 |
operation this call is never needed—the library automatically does any |
| 28 |
flushing required. |
| 29 |
|
| 30 |
Return values |
| 31 |
------------- |
| 32 |
|
| 33 |
0 is returned if an error is encountered, otherwise 1 is returned. |
| 34 |
|
| 35 |
Diagnostics |
| 36 |
----------- |
| 37 |
|
| 38 |
All error messages are directed to the :c:func:`TIFFErrorExtR` routine. |
| 39 |
|
| 40 |
See also |
| 41 |
-------- |
| 42 |
|
| 43 |
:doc:`TIFFOpen` (3tiff), |
| 44 |
:doc:`TIFFWriteEncodedStrip` (3tiff), |
| 45 |
:doc:`TIFFWriteEncodedTile` (3tiff), |
| 46 |
:doc:`TIFFWriteRawStrip` (3tiff), |
| 47 |
:doc:`TIFFWriteRawTile` (3tiff), |
| 48 |
:doc:`TIFFWriteScanline` (3tiff), |
| 49 |
:doc:`TIFFWriteTile` (3tiff), |
| 50 |
:doc:`libtiff` (3tiff) |