summaryrefslogtreecommitdiff
path: root/doc/functions/_TIFFRewriteField.rst
blob: 0f4575ba2e1dfbf1dc9ea0a554139b2526399baf (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
_TIFFRewriteField
=================

Synopsis
--------

.. highlight:: c

::

    #include <tiffio.h>

.. c:function:: int _TIFFRewriteField(TIFF* tif, uint16_t tag, TIFFDataType in_datatype, tmsize_t count, void* data)

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

:c:func:`_TIFFRewriteField`
Rewrite a field in the directory on disk without regard to updating the
TIFF directory structure in memory.  Currently only supported for field
that already exist in the on-disk directory.
Mainly used for updating stripoffset / stripbytecount values after
the directory is already on disk.

Return values
-------------

Returns zero on failure, and one on success.

See also
--------

:doc:`libtiff` (3tiff)