Blame html/man/TIFFWriteTile.3tiff.html

Packit 7838c8
Packit 7838c8
Packit 7838c8
<html>
Packit 7838c8
<head>
Packit 7838c8
<meta name="generator" content="groff -Thtml, see www.gnu.org">
Packit 7838c8
<meta name="Content-Style" content="text/css">
Packit 7838c8
<title>TIFFWriteTile</title>
Packit 7838c8
</head>
Packit 7838c8
<body>
Packit 7838c8
Packit 7838c8

TIFFWriteTile

Packit 7838c8
NAME
Packit 7838c8
SYNOPSIS
Packit 7838c8
DESCRIPTION
Packit 7838c8
RETURN VALUES
Packit 7838c8
DIAGNOSTICS
Packit 7838c8
SEE ALSO
Packit 7838c8
Packit 7838c8

Packit 7838c8
Packit 7838c8

NAME

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

TIFFWriteTile − encode and write a tile of data to

Packit 7838c8
an open <small>TIFF</small> file

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

SYNOPSIS

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

#include <tiffio.h>

Packit 7838c8
Packit 7838c8

tsize_t TIFFWriteTile(TIFF *tif,

Packit 7838c8
tdata_t buf, uint32 x,
Packit 7838c8
uint32 y, uint32 z,
Packit 7838c8
tsample_t sample)

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

DESCRIPTION

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

Write the data for the tile containing the

Packit 7838c8
specified coordinates. The data in buf are is
Packit 7838c8
(potentially) compressed, and written to the indicated file,
Packit 7838c8
normally being appended to the end of the file. The buffer
Packit 7838c8
must be contain an entire tile of data. Applications should
Packit 7838c8
call the routine TIFFTileSize to find out the size
Packit 7838c8
(in bytes) of a tile buffer. The x and y
Packit 7838c8
parameters are always used by TIFFWriteTile. The
Packit 7838c8
z parameter is used if the image is deeper than 1
Packit 7838c8
slice (ImageDepth>1). The sample parameter
Packit 7838c8
is used only if data are organized in separate planes
Packit 7838c8
(PlanarConfiguration=2).

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

RETURN VALUES

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

TIFFWriteTile returns −1 if it detects an

Packit 7838c8
error; otherwise the number of bytes in the tile is
Packit 7838c8
returned.

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

DIAGNOSTICS

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

All error messages are directed to the

Packit 7838c8
TIFFError(3TIFF) routine.

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

SEE ALSO

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

TIFFCheckTile(3TIFF),

Packit 7838c8
TIFFComputeTile(3TIFF), TIFFOpen(3TIFF),
Packit 7838c8
TIFFReadTile(3TIFF), TIFFWriteScanline(3TIFF),
Packit 7838c8
TIFFWriteEncodedTile(3TIFF),
Packit 7838c8
TIFFWriteRawTile(3TIFF), libtiff(3TIFF)

Packit 7838c8
Packit 7838c8

Libtiff library home page:

Packit 7838c8
http://www.simplesystems.org/libtiff/

Packit 7838c8
Packit 7838c8
Packit 7838c8

Packit 7838c8
</body>
Packit 7838c8
</html>