summaryrefslogtreecommitdiff
path: root/doc/functions/TIFFClose.rst
blob: 1eb523a4f56cffb425f8b978faff22a86720987d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TIFFClose
==========

Synopsis
--------

.. highlight:: c

::

    #include <tiffio.h>


.. c:function:: void TIFFClose(TIFF* tif)

Description
-----------

:c:func:`TIFFClose` closes a file that was previously opened with
:c:func:`TIFFOpen`.  Any buffered data are flushed to the file, including
the contents of the current directory (if modified); and all resources
are reclaimed.

Diagnostics
-----------

All error messages are directed to the :c:func:`TIFFError` routine.
Likewise, warning messages are directed to the :c:func:`TIFFWarning` routine.

See also
--------

:doc:`libtiff` (3tiff),
:doc:`TIFFOpen`  (3tiff),
:doc:`TIFFError` (3tiff)