⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tifftile.3t

📁 tiff文件开发库
💻 3T
字号:
.\" $Header: /cvsroot/osrs/libtiff/man/TIFFtile.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $.\".\" Copyright (c) 1988-1997 Sam Leffler.\" Copyright (c) 1991-1997 Silicon Graphics, Inc..\".\" Permission to use, copy, modify, distribute, and sell this software and .\" its documentation for any purpose is hereby granted without fee, provided.\" that (i) the above copyright notices and this permission notice appear in.\" all copies of the software and related documentation, and (ii) the names of.\" Sam Leffler and Silicon Graphics may not be used in any advertising or.\" publicity relating to the software without the specific, prior written.\" permission of Sam Leffler and Silicon Graphics..\" .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  .\" .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE .\" OF THIS SOFTWARE..\".if n .po 0.TH TIFFTILE 3T "February 14, 1992".SH NAMETIFFTileSize,TIFFTileRowSize,TIFFVTileSize,TIFFDefaultTileSize,TIFFComputeTile,TIFFCheckTile,TIFFNumberOfTiles\- tile-related utility routines.SH SYNOPSIS.nf.B "#include <tiffio.h>".B "void TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th)".B "tsize_t TIFFTileSize(TIFF* tif)".B "tsize_t TIFFTileRowSize(TIFF* tif)".B "tsize_t TIFFVTileSize(TIFF* tif, uint32 nrows)".B "ttile_t TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, tsample_t sample)".B "int TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, tsample_t sample)".B "ttile_t TIFFNumberOfTiles(TIFF* tif)".fi.SH DESCRIPTION.I TIFFDefaultTileSizereturns the pixel width and height of a reasonable-sized tile;suitable for setting up the.I TileWidthand.I TileLengthtags.If the.I twand.I thvalues passed in are non-zero, then they are adjusted to reflectany compression-specific requirements.The returned width and height are constrained to be a multipleof 16 pixels to conform with the .SM TIFFspecification..PP.I TIFFTileSizereturns the equivalent size for a tile of data as it wouldbe returned in a call to.I TIFFReadTileor as it would be expected in a call to.IR TIFFWriteTile ..PP.I TIFFVTileSizereturns the number of bytes in a row-aligned tile with.I nrowsof data..PP.I TIFFTileRowSizereturns the number of bytes of a row of data in a tile..PP.IR TIFFComputeTilereturns the tile that contains the specified coordinates.A valid tile is always returned;out-of-range coordinate values are clamped to the bounds of the image.The.I xand.I yparameters are always used in calculating a tile.The.I zparameter is used if the image is deeper than 1 slice (\c.IR ImageDepth >1).The.I sampleparameter is used only if data are organized in separate planes (\c.IR PlanarConfiguration =2)..PP.IR TIFFCheckTilereturns a non-zero value if the supplied coordinates arewithin the bounds of the image and zero otherwise.The.I xparameter is checked against the value of the.I ImageWidthtag.The.I yparameter is checked against the value of the.I ImageLengthtag.The.I zparameter is checked against the value of the.I ImageDepthtag (if defined).The.I sampleparameter is checked against the value of the.I SamplesPerPixelparameter if the data are organized in separate planes..PP.IR TIFFNumberOfTilesreturns the number of tiles in the image..SH DIAGNOSTICSNone..SH "SEE ALSO".IR libtiff (3T),.IR TIFFReadEncodedTile (3T),.IR TIFFReadRawTile (3T),.IR TIFFReadTile (3T),.IR TIFFWriteEncodedTile (3T),.IR TIFFWriteRawTile (3T),.IR TIFFWriteTile (3T)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -