1.10 " ˆl–äY>” Êi?u8 Aq·.4꘴oÄ ƒh¹ÂÁ 0x10000040  ˆ 0_’I|¥‰ÓMjqØ‚¦ð¬÷àˆ 0¾Ãˆ 0¾a–äY>” Êi?u8 Aq·®Å1hßÈ 0¿¾Ã,ˆl–ßi~”TËm q@·q¶n6ʘ´oÇ „d!yÿ_‡I|¥ŠèªÀÅ?÷ TIFFSetField

TIFFSetField

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
DIAGNOSTICS
SEE ALSO

NAME

TIFFSetField, TIFFVSetField − set the value(s) of a tag in a TIFF file open for writing

SYNOPSIS

#include <tiffio.h>

int TIFFSetField(TIFF *tif, ttag_t tag, ...)

#include <stdarg.h>

int TIFFVSetField(TIFF *tif, ttag_t tag, va_list ap)

DESCRIPTION

TIFFSetField sets the value of a field or pseudo-tag in the current directory associated with the open TIFF file tif. (A pseudo-tag is a parameter that is used to control the operation of the TIFF library but whose value is not read or written to the underlying file.) To set the value of a field the file must have been previously opened for writing with TIFFOpen(3TIFF); pseudo-tags can be set whether the file was opened for reading or writing. The field is identified by tag, one of the values defined in the include file tiff.h (see also the table below). The actual value is specified using a variable argument list, as prescribed by the stdarg(3) interface (or, on some machines, the varargs(3) interface.)

TIFFVSetField is functionally equivalent to TIFFSetField except that it takes a pointer to a variable argument list. TIFFVSetField is useful for writing routines that are layered on top of the functionality provided by TIFFSetField.

The tags understood by libtiff, the number of parameter values, and the expected types for the parameter values are shown below. The data types are: char* is null-terminated string and corresponds to the ASCII data type; uint16_t is an unsigned 16-bit value; uint32_t is an unsigned 32-bit value; uint16_t* is an array of unsigned 16-bit values. void* is an array of data values of unspecified type.

Consult the TIFF specification for information on the meaning of each tag.

Tag Name

Count