Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tifffieldwritecount(3tiff) [centos man page]

TIFFFieldWriteCount(3TIFF)												TIFFFieldWriteCount(3TIFF)

NAME
TIFFFieldWriteCount - Get number of values to be written to field SYNOPSIS
#include <tiffio.h> int TIFFFieldWriteCount(const TIFFField* fip) DESCRIPTION
TIFFFieldWriteCount returns the number of values to be written into the specified TIFF field; that is, the number of arguments that should be supplied to TIFFSetField. For most field types this is a small positive integer, typically 1 or 2, but there are some special values: TIFF_VARIABLE indicates that a variable number of values is possible; then, a uint16 count argument and a pointer data argument must be supplied to TIFFSetField. TIFF_VARIABLE2 is the same as TIFF_VARIABLE except that the count argument must have type uint32. (On most modern machines, this makes no practical difference, and the count argument can simply be an int in either case.) TIFF_SPP indicates that the number of arguments must be equal to the image's number of samples per pixel. fip is a field information pointer previously returned by TIFFFindField, TIFFFieldWithTag, or TIFFFieldWithName. For most field types, TIFFFieldWriteCount returns the same value as TIFFFieldReadCount, but there are some exceptions. RETURN VALUES
TIFFFieldWriteCount returns an integer. SEE ALSO
libtiff(3TIFF), Libtiff library home page: http://www.remotesensing.org/libtiff/ libtiff July 26, 2012 TIFFFieldWriteCount(3TIFF)

Check Out this Related Man Page

TIFFWriteTile(3TIFF)													      TIFFWriteTile(3TIFF)

NAME
TIFFWriteTile - encode and write a tile of data to an open TIFF file SYNOPSIS
#include <tiffio.h> tsize_t TIFFWriteTile(TIFF *tif, tdata_t buf, uint32 x, uint32 y, uint32 z, tsample_t sample) DESCRIPTION
Write the data for the tile containing the specified coordinates. The data in buf are is (potentially) compressed, and written to the indi- cated file, normally being appended to the end of the file. The buffer must be contain an entire tile of data. Applications should call the routine TIFFTileSize to find out the size (in bytes) of a tile buffer. The x and y parameters are always used by TIFFWriteTile. The z parameter is used if the image is deeper than 1 slice (ImageDepth>1). The sample parameter is used only if data are organized in separate planes (PlanarConfiguration=2). RETURN VALUES
TIFFWriteTile returns -1 if it detects an error; otherwise the number of bytes in the tile is returned. DIAGNOSTICS
All error messages are directed to the TIFFError(3TIFF) routine. SEE ALSO
TIFFCheckTile(3TIFF), TIFFComputeTile(3TIFF), TIFFOpen(3TIFF), TIFFReadTile(3TIFF), TIFFWriteScanline(3TIFF), TIFFWriteEncodedTile(3TIFF), TIFFWriteRawTile(3TIFF), libtiff(3TIFF) Libtiff library home page: http://www.remotesensing.org/libtiff/ libtiff November 29, 1999 TIFFWriteTile(3TIFF)
Man Page