.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "TIFFREADRAWTILE" "3tiff" "Nov 26, 2023" "4.6" "LibTIFF" .SH NAME TIFFReadRawTile \- return an undecoded tile of data from an open TIFF file .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX #include .EE .UNINDENT .UNINDENT .INDENT 0.0 .TP .B tsize_t TIFFReadRawTile(TIFF *tif, ttile_t tile, tdata_t buf, tsize_t size) .UNINDENT .SH DESCRIPTION .sp Read the contents of the specified tile into the (user supplied) data buffer. Note that the value of \fItile\fP is a \(dqraw tile number\(dq. That is, the caller must take into account whether or not the data is organized in separate planes (\fBPlanarConfiguration\fP = 2). \fI\%TIFFComputeTile()\fP 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 \fI\%TIFFTileSize()\fP\&. .SH RETURN VALUES .sp The actual number of bytes of data that were placed in \fIbuf\fP is returned; \fI\%TIFFReadRawTile()\fP returns \-1 if an error was encountered. .SH DIAGNOSTICS .sp All error messages are directed to the \fI\%TIFFErrorExtR()\fP routine. .SH SEE ALSO .sp \fI\%TIFFOpen\fP (3tiff), \fI\%TIFFReadEncodedTile\fP (3tiff), \fI\%TIFFReadTile\fP (3tiff), \fI\%TIFFtile\fP (3tiff), \fI\%libtiff\fP (3tiff) .SH AUTHOR LibTIFF contributors .SH COPYRIGHT 1988-2023, LibTIFF contributors .\" Generated by docutils manpage writer. .