Added manual page for TIFFDataWidth() function.
This commit is contained in:
parent
8478ad5a42
commit
dd84bac9be
@ -1,5 +1,5 @@
|
||||
#! smake
|
||||
# $Header: /cvs/maptools/cvsroot/libtiff/man/Makefile.in,v 1.12 2002-04-09 20:01:27 dron Exp $
|
||||
# $Header: /cvs/maptools/cvsroot/libtiff/man/Makefile.in,v 1.13 2002-09-12 13:32:41 dron Exp $
|
||||
#
|
||||
# @WARNING@
|
||||
#
|
||||
@ -112,6 +112,7 @@ MANDEV=\
|
||||
lib/libtiff.3t \
|
||||
\
|
||||
lib/TIFFClose.3t \
|
||||
lib/TIFFDataWidth.3t \
|
||||
lib/TIFFError.3t \
|
||||
lib/TIFFFlush.3t \
|
||||
lib/TIFFGetField.3t \
|
||||
@ -244,6 +245,7 @@ apps/tiffsv.1:: ${SRCDIR}/tiffsv.1; ${MANCVT}
|
||||
|
||||
lib/libtiff.3t:: ${SRCDIR}/libtiff.3t; ${MANCVT}
|
||||
lib/TIFFClose.3t:: ${SRCDIR}/TIFFClose.3t; ${MANCVT}
|
||||
lib/TIFFDataWidth.3t:: ${SRCDIR}/TIFFDataWidth.3t; ${MANCVT}
|
||||
lib/TIFFError.3t:: ${SRCDIR}/TIFFError.3t; ${MANCVT}
|
||||
lib/TIFFFlush.3t:: ${SRCDIR}/TIFFFlush.3t; ${MANCVT}
|
||||
lib/TIFFGetField.3t:: ${SRCDIR}/TIFFGetField.3t; ${MANCVT}
|
||||
@ -381,6 +383,7 @@ links: ${MANDEVLINKS}
|
||||
|
||||
short:
|
||||
${MV} TIFFClose.3t close.3t
|
||||
${MV} TIFFDataWidth.3t width.3t
|
||||
${MV} TIFFError.3t error.3t
|
||||
${MV} TIFFFlush.3t flush.3t
|
||||
${MV} TIFFGetField.3t getfield.3t
|
||||
|
69
man/TIFFDataWidth.3t
Normal file
69
man/TIFFDataWidth.3t
Normal file
@ -0,0 +1,69 @@
|
||||
.\" $Header: /cvs/maptools/cvsroot/libtiff/man/Attic/TIFFDataWidth.3t,v 1.1 2002-09-12 13:32:41 dron 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 TIFFDataWidth 3T "September 12, 2002"
|
||||
.SH NAME
|
||||
TIFFDataWidth \- Get the size of TIFF data types
|
||||
.SH SYNOPSIS
|
||||
.B "#include <tiffio.h>"
|
||||
.br
|
||||
.B "int TIFFDataWidth(TIFFDataType type)"
|
||||
.SH DESCRIPTION
|
||||
.I TIFFDataWidth
|
||||
returns a size of
|
||||
.I type
|
||||
in bytes.
|
||||
Currently following data types are supported:
|
||||
.br
|
||||
.I TIFF_BYTE
|
||||
.br
|
||||
.I TIFF_ASCII
|
||||
.br
|
||||
.I TIFF_SBYTE
|
||||
.br
|
||||
.I TIFF_UNDEFINED
|
||||
.br
|
||||
.I TIFF_SHORT
|
||||
.br
|
||||
.I TIFF_SSHORT
|
||||
.br
|
||||
.I TIFF_LONG
|
||||
.br
|
||||
.I TIFF_SLONG
|
||||
.br
|
||||
.I TIFF_FLOAT
|
||||
.br
|
||||
.I TIFF_RATIONAL
|
||||
.br
|
||||
.I TIFF_SRATIONAL
|
||||
.br
|
||||
.I TIFF_DOUBLE
|
||||
.br
|
||||
.SH "RETURN VALUES"
|
||||
.br
|
||||
.IR TIFFDataWidth
|
||||
returns a number of bytes occupied by the item of given type.
|
||||
.SH "SEE ALSO"
|
||||
.IR libtiff (3T),
|
@ -1,4 +1,4 @@
|
||||
.\" $Header: /cvs/maptools/cvsroot/libtiff/man/Attic/libtiff.3t,v 1.3 2002-03-01 04:10:11 warmerda Exp $
|
||||
.\" $Header: /cvs/maptools/cvsroot/libtiff/man/Attic/libtiff.3t,v 1.4 2002-09-12 13:32:41 dron Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1988-1997 Sam Leffler
|
||||
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
|
||||
@ -158,6 +158,7 @@ on most systems doing ``man function-name'' will work.
|
||||
.ta \w'TIFFWriteEncodedStrip'u+2n +\w'Appears on Page'u+2n
|
||||
\fIName\fP \fIAppears on Page\fP \fIDescription\fP
|
||||
.sp 5p
|
||||
TIFFCheckpointDirectory writedir.3t writes the current state of the directory
|
||||
TIFFCheckTile tile.3t very x,y,z,sample is within image
|
||||
TIFFClientOpen open.3t open a file for reading or writing
|
||||
TIFFClose close.3t close an open file
|
||||
@ -167,6 +168,7 @@ TIFFCurrentDirectory query.3t return index of current directory
|
||||
TIFFCurrentRow query.3t return index of current scanline
|
||||
TIFFCurrentStrip query.3t return index of current strip
|
||||
TIFFCurrentTile query.3t return index of current tile
|
||||
TIFFDataWidth width.3t return the size of TIFF data types
|
||||
TIFFError error.3t library error handler
|
||||
TIFFFdOpen open.3t open a file for reading or writing
|
||||
TIFFFileName query.3t return name of open file
|
||||
|
Loading…
Reference in New Issue
Block a user