/usr/share/doc/libtiff-devel/html/man
<!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Sat Feb 24 18:37:15 2007 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>TIFFBUFFER</title> </head> <body> <h1 align=center>TIFFBUFFER</h1> <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#DIAGNOSTICS">DIAGNOSTICS</a><br> <a href="#SEE ALSO">SEE ALSO</a><br> <hr> <a name="NAME"></a> <h2>NAME</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>TIFFReadBufferSetup, TIFFWriteBufferSetup − I/O buffering control routines</p> </td> </table> <a name="SYNOPSIS"></a> <h2>SYNOPSIS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <pre><b>#include <tiffio.h> int TIFFReadBufferSetup(TIFF *</b><i>tif</i><b>, tdata_t</b> <i>buffer</i><b>, tsize_t</b> <i>size</i><b>); int TIFFWriteBufferSetup(TIFF *</b><i>tif</i><b>, tdata_t</b> <i>buffer</i><b>, tsize_t</b> <i>size</i><b>); </b></pre> </td> </table> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>The following routines are provided for client-control of the I/O buffers used by the library. Applications need never use these routines; they are provided only for ‘‘intelligent clients’’ that wish to optimize memory usage and/or eliminate potential copy operations that can occur when working with images that have data stored without compression.</p> <!-- INDENTATION --> <p><i>TIFFReadBufferSetup</i> sets up the data buffer used to read raw (encoded) data from a file. If the specified pointer is <small>NULL</small> (zero), then a buffer of the appropriate size is allocated. Otherwise the caller must guarantee that the buffer is large enough to hold any individual strip of raw data. <i>TIFFReadBufferSetup</i> returns a non-zero value if the setup was successful and zero otherwise.</p> <!-- INDENTATION --> <p><i>TIFFWriteBufferSetup</i> sets up the data buffer used to write raw (encoded) data to a file. If the specified <i>size</i> is −1 then the buffer size is selected to hold a complete tile or strip, or at least 8 kilobytes, whichever is greater. If the specified <i>buffer</i> is <small>NULL</small> (zero), then a buffer of the appropriate size is dynamically allocated. <i>TIFFWriteBufferSetup</i> returns a non-zero value if the setup was successful and zero otherwise.</p> </td> </table> <a name="DIAGNOSTICS"></a> <h2>DIAGNOSTICS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><b>%s: No space for data buffer at scanline %ld</b>. <i>TIFFReadBufferSetup</i> was unable to dynamically allocate space for a data buffer.</p> <!-- INDENTATION --> <p><b>%s: No space for output buffer</b>. <i>TIFFWriteBufferSetup</i> was unable to dynamically allocate space for a data buffer.</p> </td> </table> <a name="SEE ALSO"></a> <h2>SEE ALSO</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><b>libtiff</b>(3TIFF)</p> <!-- INDENTATION --> <p>Libtiff library home page: <b>http://www.simplesystems.org/libtiff/</b></p> </td> </table> <hr> </body> </html>
.
Edit
..
Edit
CMakeLists.txt
Edit
HtmlDoc.cmake
Edit
TIFFClose.3tiff.html
Edit
TIFFDataWidth.3tiff.html
Edit
TIFFError.3tiff.html
Edit
TIFFFieldDataType.3tiff.html
Edit
TIFFFieldName.3tiff.html
Edit
TIFFFieldPassCount.3tiff.html
Edit
TIFFFieldReadCount.3tiff.html
Edit
TIFFFieldTag.3tiff.html
Edit
TIFFFieldWriteCount.3tiff.html
Edit
TIFFFlush.3tiff.html
Edit
TIFFGetField.3tiff.html
Edit
TIFFOpen.3tiff.html
Edit
TIFFPrintDirectory.3tiff.html
Edit
TIFFRGBAImage.3tiff.html
Edit
TIFFReadDirectory.3tiff.html
Edit
TIFFReadEncodedStrip.3tiff.html
Edit
TIFFReadEncodedTile.3tiff.html
Edit
TIFFReadRGBAImage.3tiff.html
Edit
TIFFReadRGBAStrip.3tiff.html
Edit
TIFFReadRGBATile.3tiff.html
Edit
TIFFReadRawStrip.3tiff.html
Edit
TIFFReadRawTile.3tiff.html
Edit
TIFFReadScanline.3tiff.html
Edit
TIFFReadTile.3tiff.html
Edit
TIFFSetDirectory.3tiff.html
Edit
TIFFSetField.3tiff.html
Edit
TIFFWarning.3tiff.html
Edit
TIFFWriteDirectory.3tiff.html
Edit
TIFFWriteEncodedStrip.3tiff.html
Edit
TIFFWriteEncodedTile.3tiff.html
Edit
TIFFWriteRawStrip.3tiff.html
Edit
TIFFWriteRawTile.3tiff.html
Edit
TIFFWriteScanline.3tiff.html
Edit
TIFFWriteTile.3tiff.html
Edit
TIFFbuffer.3tiff.html
Edit
TIFFcodec.3tiff.html
Edit
TIFFcolor.3tiff.html
Edit
TIFFmemory.3tiff.html
Edit
TIFFquery.3tiff.html
Edit
TIFFsize.3tiff.html
Edit
TIFFstrip.3tiff.html
Edit
TIFFswab.3tiff.html
Edit
TIFFtile.3tiff.html
Edit
fax2ps.1.html
Edit
fax2tiff.1.html
Edit
index.html
Edit
libtiff.3tiff.html
Edit
pal2rgb.1.html
Edit
ppm2tiff.1.html
Edit
raw2tiff.1.html
Edit
tiff2bw.1.html
Edit
tiff2pdf.1.html
Edit
tiff2ps.1.html
Edit
tiff2rgba.1.html
Edit
tiffcmp.1.html
Edit
tiffcp.1.html
Edit
tiffcrop.1.html
Edit
tiffdither.1.html
Edit
tiffdump.1.html
Edit
tiffinfo.1.html
Edit
tiffmedian.1.html
Edit
tiffset.1.html
Edit
tiffsplit.1.html
Edit