<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML><HEAD><TITLE>Manpage of TIFFReadRawTile</TITLE> </HEAD><BODY BGCOLOR=WHITE><FONT FACE="helvetica, sans, arial"> <H1>TIFFReadRawTile</H1> Section: Misc. Reference Manual Pages (3T)<BR>Updated: October 15, 1995<BR><A HREF="#index">Index</A> <BR><A HREF="index.html">Return to Main Contents</A> <HR> <A NAME="lbAB"> </A> <H2>NAME</H2> TIFFReadRawTile - return an undecoded tile of data from an open <FONT SIZE="-1">TIFF</FONT> file <A NAME="lbAC"> </A> <H2>SYNOPSIS</H2> <B>#include <<A HREF="file:/usr/include/tiffio.h">tiffio.h</A>></B> <BR> <B>tsize_t TIFFReadRawTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size)</B> <A NAME="lbAD"> </A> <H2>DESCRIPTION</H2> Read the contents of the specified tile into the (user supplied) data buffer. Note that the value of <I>tile</I> is a ``raw tile number.'' That is, the caller must take into account whether or not the data is organized in separate planes (<I>PlanarConfiguration</I>=2). <I>TIFFComputeTile</I> automatically does this when converting an (x,y,z,sample) coordinate quadruple to a tile number. To read a full tile of data the data buffer should typically be at least as large as the value returned by <I>TIFFTileSize</I>. <A NAME="lbAE"> </A> <H2>RETURN VALUES</H2> The actual number of bytes of data that were placed in <I>buf</I> is returned; <I>TIFFReadEncodedTile</I> returns -1 if an error was encountered. <A NAME="lbAF"> </A> <H2>DIAGNOSTICS</H2> All error messages are directed to the <I><A HREF="TIFFError.3t.html">TIFFError</A></I>(3T) routine. <A NAME="lbAG"> </A> <H2>SEE ALSO</H2> <I><A HREF="libtiff.3t.html">libtiff</A></I>(3T), <I><A HREF="TIFFOpen.3t.html">TIFFOpen</A></I>(3T), <I><A HREF="TIFFReadEncodedTile.3t.html">TIFFReadEncodedTile</A></I>(3T), <I><A HREF="TIFFReadTile.3t.html">TIFFReadTile</A></I>(3T), <I><A HREF="TIFFTileSize.3t.html">TIFFTileSize</A></I>(3T) <HR> <A NAME="index"> </A><H2>Index</H2> <DL> <DT><A HREF="#lbAB">NAME</A><DD> <DT><A HREF="#lbAC">SYNOPSIS</A><DD> <DT><A HREF="#lbAD">DESCRIPTION</A><DD> <DT><A HREF="#lbAE">RETURN VALUES</A><DD> <DT><A HREF="#lbAF">DIAGNOSTICS</A><DD> <DT><A HREF="#lbAG">SEE ALSO</A><DD> </DL> <HR> This document was created by <A HREF="index.html">man2html</A>, using the manual pages.<BR> Time: 01:31:38 GMT, November 23, 1999 </BODY> </HTML>