_TIFFRewriteField.3tiff - Man Page

rewrite a field in the directory on disk

Synopsis

#include <tiffio.h>

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

Description

_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

libtiff (3tiff)

Author

LibTIFF contributors

Info

Sep 11, 2024 4.7 LibTIFF