diff options
Diffstat (limited to 'man')
59 files changed, 428 insertions, 114 deletions
diff --git a/man/CVS/Entries b/man/CVS/Entries deleted file mode 100644 index cb97825f..00000000 --- a/man/CVS/Entries +++ /dev/null @@ -1,56 +0,0 @@ -/Makefile/1.1.1.1/Tue Jul 27 21:50:27 1999// -/Makefile.in/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFClose.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFError.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFFlush.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFGetField.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFOpen.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFPrintDirectory.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFRGBAImage.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFReadDirectory.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFReadEncodedStrip.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFReadEncodedTile.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFReadRGBAImage.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFReadRawStrip.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFReadRawTile.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFReadScanline.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFReadTile.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFSetDirectory.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFSetField.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFWarning.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFWriteDirectory.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFWriteEncodedStrip.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFWriteEncodedTile.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFWriteRawStrip.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFWriteRawTile.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFWriteScanline.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFbuffer.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFcodec.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFmemory.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFquery.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFsize.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFstrip.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFswab.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/TIFFtile.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/fax2ps.1/1.1.1.1/Tue Jul 27 21:50:27 1999// -/fax2tiff.1/1.1.1.1/Tue Jul 27 21:50:27 1999// -/gif2tiff.1/1.1.1.1/Tue Jul 27 21:50:27 1999// -/libtiff.3t/1.1.1.1/Tue Jul 27 21:50:27 1999// -/pal2rgb.1/1.1.1.1/Tue Jul 27 21:50:27 1999// -/ppm2tiff.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/ras2tiff.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/rgb2ycbcr.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/sgi2tiff.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/thumbnail.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiff2bw.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiff2ps.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiffcmp.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiffcp.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiffdither.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiffdump.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiffgt.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiffinfo.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiffmedian.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiffsplit.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -/tiffsv.1/1.1.1.1/Tue Jul 27 21:50:28 1999// -D diff --git a/man/CVS/Repository b/man/CVS/Repository deleted file mode 100644 index e657bc85..00000000 --- a/man/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -/usr/local/cvs/internal/libtiff/man diff --git a/man/CVS/Root b/man/CVS/Root deleted file mode 100644 index 8dff0f68..00000000 --- a/man/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -/usr/local/cvs diff --git a/man/Makefile.in b/man/Makefile.in index 64736b1f..cb923427 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -1,5 +1,5 @@ #! smake -# $Header: /usr/local/cvs/internal/libtiff/man/Makefile.in,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +# $Header: /cvsroot/osrs/libtiff/man/Makefile.in,v 1.2 1999/08/16 18:45:52 warmerda Exp $ # # @WARNING@ # @@ -119,6 +119,8 @@ MANDEV=\ lib/TIFFReadEncodedStrip.3t \ lib/TIFFReadEncodedTile.3t \ lib/TIFFReadRGBAImage.3t \ + lib/TIFFReadRGBAStrip.3t \ + lib/TIFFReadRGBATile.3t \ lib/TIFFReadRawStrip.3t \ lib/TIFFReadRawTile.3t \ lib/TIFFReadScanline.3t \ @@ -245,6 +247,8 @@ lib/TIFFReadDirectory.3t:: ${SRCDIR}/TIFFReadDirectory.3t; ${MANCVT} lib/TIFFReadEncodedStrip.3t:: ${SRCDIR}/TIFFReadEncodedStrip.3t;${MANCVT} lib/TIFFReadEncodedTile.3t:: ${SRCDIR}/TIFFReadEncodedTile.3t; ${MANCVT} lib/TIFFReadRGBAImage.3t:: ${SRCDIR}/TIFFReadRGBAImage.3t; ${MANCVT} +lib/TIFFReadRGBATile.3t:: ${SRCDIR}/TIFFReadRGBATile.3t; ${MANCVT} +lib/TIFFReadRGBAStrip.3t:: ${SRCDIR}/TIFFReadRGBAStrip.3t; ${MANCVT} lib/TIFFReadRawStrip.3t:: ${SRCDIR}/TIFFReadRawStrip.3t; ${MANCVT} lib/TIFFReadRawTile.3t:: ${SRCDIR}/TIFFReadRawTile.3t; ${MANCVT} lib/TIFFReadScanline.3t:: ${SRCDIR}/TIFFReadScanline.3t; ${MANCVT} @@ -376,6 +380,8 @@ short: ${MV} TIFFReadRawTile.3t rdrtile.3t ${MV} TIFFReadDirectory.3t readdir.3t ${MV} TIFFReadRGBAImage.3t rdimage.3t + ${MV} TIFFReadRGBAStrip.3t rdsimage.3t + ${MV} TIFFReadRGBATile.3t rdtimage.3t ${MV} TIFFReadScanline.3t readline.3t ${MV} TIFFReadTile.3t readtile.3t ${MV} TIFFRGBAImage.3t rgbaimage.3t diff --git a/man/TIFFClose.3t b/man/TIFFClose.3t index d0f49831..aa2b540f 100644 --- a/man/TIFFClose.3t +++ b/man/TIFFClose.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFClose.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFClose.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. diff --git a/man/TIFFError.3t b/man/TIFFError.3t index da97ad74..79daddab 100644 --- a/man/TIFFError.3t +++ b/man/TIFFError.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFError.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFError.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. diff --git a/man/TIFFFlush.3t b/man/TIFFFlush.3t index 58704d6d..cc38cde4 100644 --- a/man/TIFFFlush.3t +++ b/man/TIFFFlush.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFFlush.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFFlush.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. diff --git a/man/TIFFGetField.3t b/man/TIFFGetField.3t index 2f058045..4a626cf8 100644 --- a/man/TIFFGetField.3t +++ b/man/TIFFGetField.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFGetField.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFGetField.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. diff --git a/man/TIFFOpen.3t b/man/TIFFOpen.3t index c70a3a6d..07a4853c 100644 --- a/man/TIFFOpen.3t +++ b/man/TIFFOpen.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFOpen.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFOpen.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. diff --git a/man/TIFFPrintDirectory.3t b/man/TIFFPrintDirectory.3t index 6c1151cc..90dbe39f 100644 --- a/man/TIFFPrintDirectory.3t +++ b/man/TIFFPrintDirectory.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFPrintDirectory.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFPrintDirectory.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ .\" .\" Copyright (c) 1991-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/TIFFRGBAImage.3t b/man/TIFFRGBAImage.3t index 2b2036a3..92ba09d8 100644 --- a/man/TIFFRGBAImage.3t +++ b/man/TIFFRGBAImage.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFRGBAImage.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFRGBAImage.3t,v 1.2 1999/08/16 17:29:55 warmerda Exp $ .\" .\" Copyright (c) 1991-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. @@ -272,4 +272,6 @@ not handled correctly. .SH "SEE ALSO" .IR libtiff (3T), .IR TIFFOpen (3T), -.IR TIFFReadRGBAImage (3T) +.IR TIFFReadRGBAImage (3T), +.IR TIFFReadRGBAStrip (3T), +.IR TIFFReadRGBATile (3T) diff --git a/man/TIFFReadDirectory.3t b/man/TIFFReadDirectory.3t index ce8ebdd6..73552b65 100644 --- a/man/TIFFReadDirectory.3t +++ b/man/TIFFReadDirectory.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFReadDirectory.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadDirectory.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. diff --git a/man/TIFFReadEncodedStrip.3t b/man/TIFFReadEncodedStrip.3t index 949ed76e..2e469c52 100644 --- a/man/TIFFReadEncodedStrip.3t +++ b/man/TIFFReadEncodedStrip.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFReadEncodedStrip.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadEncodedStrip.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. diff --git a/man/TIFFReadEncodedTile.3t b/man/TIFFReadEncodedTile.3t index 7cc109d3..82c4ea14 100644 --- a/man/TIFFReadEncodedTile.3t +++ b/man/TIFFReadEncodedTile.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFReadEncodedTile.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadEncodedTile.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. diff --git a/man/TIFFReadRGBAImage.3t b/man/TIFFReadRGBAImage.3t index 69a4017e..9741bf49 100644 --- a/man/TIFFReadRGBAImage.3t +++ b/man/TIFFReadRGBAImage.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFReadRGBAImage.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadRGBAImage.3t,v 1.2 1999/08/16 17:29:55 warmerda Exp $ .\" .\" Copyright (c) 1991-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. @@ -182,4 +182,6 @@ not handled correctly. .SH "SEE ALSO" .IR libtiff (3T), .IR TIFFOpen (3T), -.IR TIFFRGBAImage (3T) +.IR TIFFRGBAImage (3T), +.IR TIFFReadRGBAStrip (3T), +.IR TIFFReadRGBATile (3T) diff --git a/man/TIFFReadRGBAStrip.3t b/man/TIFFReadRGBAStrip.3t new file mode 100644 index 00000000..4290a26f --- /dev/null +++ b/man/TIFFReadRGBAStrip.3t @@ -0,0 +1,176 @@ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadRGBAStrip.3t,v 1.1 1999/08/16 18:37:40 warmerda Exp $ +.\" +.\" Copyright (c) 1991-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 TIFFReadRGBAStrip 3T "December 10, 1998" +.SH NAME +TIFFReadRGBAStrip \- read and decode an image strip into a fixed-format raster +.SH SYNOPSIS +.nf +.B "#include <tiffio.h>" +.ta \w'\fB#define \fP'u +\w'\fBTIFFGetR(abgr) \fP'u +.B "#define TIFFGetR(abgr) ((abgr) & 0xff)" +.B "#define TIFFGetG(abgr) (((abgr) >> 8) & 0xff)" +.B "#define TIFFGetB(abgr) (((abgr) >> 16) & 0xff)" +.B "#define TIFFGetA(abgr) (((abgr) >> 24) & 0xff)" +.sp 5p +.B "int TIFFReadRGBAStrip(TIFF* tif, tstrip_t strip, uint32 * raster )" +.SH DESCRIPTION +.IR TIFFReadRGBAStrip +reads a single strip of a strip-based image into memory, +storing the result in the user supplied RGBA +.IR raster . +The raster is assumed to be an array of +width times rowsperstrip 32-bit entries, where width +is the width of the image (TIFFTAG_IMAGEWIDTH) and +rowsperstrip is the maximum lines in a strip (TIFFTAG_ROWSPERSTRIP). + +.PP +The +.IR strip +value should be the strip number (strip zero is the first) as returned by the +.I TIFFComputeStrip +function, but always for sample 0. + +.PP +Note that the raster is assume to be organized such that the pixel +at location (\fIx\fP,\fIy\fP) is \fIraster\fP[\fIy\fP*\fIwidth\fP+\fIx\fP]; +with the raster origin in the +.I lower-left hand corner +of the strip. That is bottom to top organization. When reading a partial +last strip in the file the last line of the image will begin at the +beginning of the buffer. + +.PP +Raster pixels are 8-bit packed red, green, blue, alpha samples. +The macros +.IR TIFFGetR , +.IR TIFFGetG , +.IR TIFFGetB , +and +.I TIFFGetA +should be used to access individual samples. +Images without Associated Alpha matting information have a constant +Alpha of 1.0 (255). +.PP +See the +.IR TIFFRGBAImage (3T) +page for more details on how various image types are converted to RGBA +values. +.SH NOTES +Samples must be either 1, 2, 4, 8, or 16 bits. +Colorimetric samples/pixel must be either 1, 3, or 4 (i.e. +.I SamplesPerPixel +minus +.IR ExtraSamples ). +.PP +Palette image colormaps that appear to be incorrectly written +as 8-bit values are automatically scaled to 16-bits. +.PP +.I TIFFReadRGBAStrip +is just a wrapper around the more general +.IR TIFFRGBAImage (3T) +facilities. It's main advantage over the similar +.IR TIFFReadRGBAImage() +function is that for large images a single +buffer capable of holding the whole image doesn't need to be allocated, +only enough for one strip. The +.IR TIFFReadRGBATile() +function does a similar operation for tiled images. +.SH "RETURN VALUES" +1 is returned if the image was successfully read and converted. +Otherwise, 0 is returned if an error was encountered. +.SH DIAGNOSTICS +All error messages are directed to the +.IR TIFFError (3T) +routine. +.PP +.BR "Sorry, can not handle %d-bit pictures" . +The image had +.I BitsPerSample +other than 1, 2, 4, 8, or 16. +.PP +.BR "Sorry, can not handle %d-channel images" . +The image had +.I SamplesPerPixel +other than 1, 3, or 4. +.PP +\fBMissing needed "PhotometricInterpretation" tag\fP. +The image did not have a tag that describes how to display +the data. +.PP +\fBNo "PhotometricInterpretation" tag, assuming RGB\fP. +The image was missing a tag that describes how to display it, +but because it has 3 or 4 samples/pixel, it is assumed to be +.SM RGB. +.PP +\fBNo "PhotometricInterpretation" tag, assuming min-is-black\fP. +The image was missing a tag that describes how to display it, +but because it has 1 sample/pixel, it is assumed to be a grayscale +or bilevel image. +.PP +.BR "No space for photometric conversion table" . +There was insufficient memory for a table used to convert +image samples to 8-bit +.SM RGB. +.PP +\fBMissing required "Colormap" tag\fP. +A Palette image did not have a required +.I Colormap +tag. +.PP +.BR "No space for tile buffer" . +There was insufficient memory to allocate an i/o buffer. +.PP +.BR "No space for strip buffer" . +There was insufficient memory to allocate an i/o buffer. +.PP +.BR "Can not handle format" . +The image has a format (combination of +.IR BitsPerSample , +.IR SamplesPerPixel , +and +.IR PhotometricInterpretation ) +that +.I TIFFReadRGBAImage +can not handle. +.PP +.BR "No space for B&W mapping table" . +There was insufficient memory to allocate a table used to map +grayscale data to +.SM RGB. +.PP +.BR "No space for Palette mapping table" . +There was insufficient memory to allocate a table used to map +data to 8-bit +.SM RGB. +.SH BUGS +Orientations other than bottom-left, or top-left are +not handled correctly. +.SH "SEE ALSO" +.IR libtiff (3T), +.IR TIFFOpen (3T), +.IR TIFFRGBAImage (3T), +.IR TIFFReadRGBAImage (3T), +.IR TIFFReadRGBATile (3T) diff --git a/man/TIFFReadRGBATile.3t b/man/TIFFReadRGBATile.3t new file mode 100644 index 00000000..5e657d06 --- /dev/null +++ b/man/TIFFReadRGBATile.3t @@ -0,0 +1,178 @@ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadRGBATile.3t,v 1.1 1999/08/16 18:37:40 warmerda Exp $ +.\" +.\" Copyright (c) 1991-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 TIFFReadRGBATile 3T "December 10, 1998" +.SH NAME +TIFFReadRGBATile \- read and decode an image tile into a fixed-format raster +.SH SYNOPSIS +.nf +.B "#include <tiffio.h>" +.ta \w'\fB#define \fP'u +\w'\fBTIFFGetR(abgr) \fP'u +.B "#define TIFFGetR(abgr) ((abgr) & 0xff)" +.B "#define TIFFGetG(abgr) (((abgr) >> 8) & 0xff)" +.B "#define TIFFGetB(abgr) (((abgr) >> 16) & 0xff)" +.B "#define TIFFGetA(abgr) (((abgr) >> 24) & 0xff)" +.sp 5p +.B "int TIFFReadRGBATile(TIFF* tif, uint32 x, uint32 y, uint32 * raster )" +.SH DESCRIPTION +.IR TIFFReadRGBATile +reads a single tile of a tile-based image into memory, +storing the result in the user supplied RGBA +.IR raster . +The raster is assumed to be an array of +width times length 32-bit entries, where width +is the width of a tile (TIFFTAG_TILEWIDTH) and +length is the height of a tile (TIFFTAG_TILELENGTH). + +.PP +The +.IR x +and +.IR y +values are the offsets from the top left corner to the top left corner +of the tile to be read. They must be an exact multiple of the tile +width and length. + +.PP +Note that the raster is assume to be organized such that the pixel +at location (\fIx\fP,\fIy\fP) is \fIraster\fP[\fIy\fP*\fIwidth\fP+\fIx\fP]; +with the raster origin in the +.I lower-left hand corner +of the tile. That is bottom to top organization. Edge tiles which +partly fall off the image will be filled out with appropriate zeroed +areas. + +.PP +Raster pixels are 8-bit packed red, green, blue, alpha samples. +The macros +.IR TIFFGetR , +.IR TIFFGetG , +.IR TIFFGetB , +and +.I TIFFGetA +should be used to access individual samples. +Images without Associated Alpha matting information have a constant +Alpha of 1.0 (255). +.PP +See the +.IR TIFFRGBAImage (3T) +page for more details on how various image types are converted to RGBA +values. +.SH NOTES +Samples must be either 1, 2, 4, 8, or 16 bits. +Colorimetric samples/pixel must be either 1, 3, or 4 (i.e. +.I SamplesPerPixel +minus +.IR ExtraSamples ). +.PP +Palette image colormaps that appear to be incorrectly written +as 8-bit values are automatically scaled to 16-bits. +.PP +.I TIFFReadRGBATile +is just a wrapper around the more general +.IR TIFFRGBAImage (3T) +facilities. It's main advantage over the similar +.IR TIFFReadRGBAImage() +function is that for large images a single +buffer capable of holding the whole image doesn't need to be allocated, +only enough for one tile. The +.IR TIFFReadRGBAStrip() +function does a similar operation for stripped images. +.SH "RETURN VALUES" +1 is returned if the image was successfully read and converted. +Otherwise, 0 is returned if an error was encountered. +.SH DIAGNOSTICS +All error messages are directed to the +.IR TIFFError (3T) +routine. +.PP +.BR "Sorry, can not handle %d-bit pictures" . +The image had +.I BitsPerSample +other than 1, 2, 4, 8, or 16. +.PP +.BR "Sorry, can not handle %d-channel images" . +The image had +.I SamplesPerPixel +other than 1, 3, or 4. +.PP +\fBMissing needed "PhotometricInterpretation" tag\fP. +The image did not have a tag that describes how to display +the data. +.PP +\fBNo "PhotometricInterpretation" tag, assuming RGB\fP. +The image was missing a tag that describes how to display it, +but because it has 3 or 4 samples/pixel, it is assumed to be +.SM RGB. +.PP +\fBNo "PhotometricInterpretation" tag, assuming min-is-black\fP. +The image was missing a tag that describes how to display it, +but because it has 1 sample/pixel, it is assumed to be a grayscale +or bilevel image. +.PP +.BR "No space for photometric conversion table" . +There was insufficient memory for a table used to convert +image samples to 8-bit +.SM RGB. +.PP +\fBMissing required "Colormap" tag\fP. +A Palette image did not have a required +.I Colormap +tag. +.PP +.BR "No space for tile buffer" . +There was insufficient memory to allocate an i/o buffer. +.PP +.BR "No space for strip buffer" . +There was insufficient memory to allocate an i/o buffer. +.PP +.BR "Can not handle format" . +The image has a format (combination of +.IR BitsPerSample , +.IR SamplesPerPixel , +and +.IR PhotometricInterpretation ) +that +.I TIFFReadRGBAImage +can not handle. +.PP +.BR "No space for B&W mapping table" . +There was insufficient memory to allocate a table used to map +grayscale data to +.SM RGB. +.PP +.BR "No space for Palette mapping table" . +There was insufficient memory to allocate a table used to map +data to 8-bit +.SM RGB. +.SH BUGS +Orientations other than bottom-left, or top-left are +not handled correctly. +.SH "SEE ALSO" +.IR libtiff (3T), +.IR TIFFOpen (3T), +.IR TIFFRGBAImage (3T), +.IR TIFFReadRGBAImage (3T), +.IR TIFFReadRGBAStrip (3T) diff --git a/man/TIFFReadRawStrip.3t b/man/TIFFReadRawStrip.3t index 1566d61f..938a0961 100644 --- a/man/TIFFReadRawStrip.3t +++ b/man/TIFFReadRawStrip.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFReadRawStrip.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadRawStrip.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. diff --git a/man/TIFFReadRawTile.3t b/man/TIFFReadRawTile.3t index 2fabaf64..a001012c 100644 --- a/man/TIFFReadRawTile.3t +++ b/man/TIFFReadRawTile.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFReadRawTile.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadRawTile.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. diff --git a/man/TIFFReadScanline.3t b/man/TIFFReadScanline.3t index 571ce66d..607ed13f 100644 --- a/man/TIFFReadScanline.3t +++ b/man/TIFFReadScanline.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFReadScanline.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadScanline.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. diff --git a/man/TIFFReadTile.3t b/man/TIFFReadTile.3t index 3c55f6fe..bb7bf506 100644 --- a/man/TIFFReadTile.3t +++ b/man/TIFFReadTile.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFReadTile.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFReadTile.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. diff --git a/man/TIFFSetDirectory.3t b/man/TIFFSetDirectory.3t index bbc1f870..107f833a 100644 --- a/man/TIFFSetDirectory.3t +++ b/man/TIFFSetDirectory.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFSetDirectory.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFSetDirectory.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. diff --git a/man/TIFFSetField.3t b/man/TIFFSetField.3t index 1bf5c33d..6a02f5c9 100644 --- a/man/TIFFSetField.3t +++ b/man/TIFFSetField.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFSetField.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFSetField.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. diff --git a/man/TIFFWarning.3t b/man/TIFFWarning.3t index 4491807e..89c46c22 100644 --- a/man/TIFFWarning.3t +++ b/man/TIFFWarning.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFWarning.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFWarning.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. diff --git a/man/TIFFWriteDirectory.3t b/man/TIFFWriteDirectory.3t index 5fc1b43d..ab2fd265 100644 --- a/man/TIFFWriteDirectory.3t +++ b/man/TIFFWriteDirectory.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFWriteDirectory.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFWriteDirectory.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. diff --git a/man/TIFFWriteEncodedStrip.3t b/man/TIFFWriteEncodedStrip.3t index f6da3401..a3435391 100644 --- a/man/TIFFWriteEncodedStrip.3t +++ b/man/TIFFWriteEncodedStrip.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFWriteEncodedStrip.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFWriteEncodedStrip.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. diff --git a/man/TIFFWriteEncodedTile.3t b/man/TIFFWriteEncodedTile.3t index 2315576e..007e930b 100644 --- a/man/TIFFWriteEncodedTile.3t +++ b/man/TIFFWriteEncodedTile.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFWriteEncodedTile.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFWriteEncodedTile.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. diff --git a/man/TIFFWriteRawStrip.3t b/man/TIFFWriteRawStrip.3t index 48155364..30b3665a 100644 --- a/man/TIFFWriteRawStrip.3t +++ b/man/TIFFWriteRawStrip.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFWriteRawStrip.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFWriteRawStrip.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. diff --git a/man/TIFFWriteRawTile.3t b/man/TIFFWriteRawTile.3t index a9262f64..3e2ef313 100644 --- a/man/TIFFWriteRawTile.3t +++ b/man/TIFFWriteRawTile.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFWriteRawTile.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFWriteRawTile.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. diff --git a/man/TIFFWriteScanline.3t b/man/TIFFWriteScanline.3t index c883d12b..413c3d6c 100644 --- a/man/TIFFWriteScanline.3t +++ b/man/TIFFWriteScanline.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFWriteScanline.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFWriteScanline.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. diff --git a/man/TIFFbuffer.3t b/man/TIFFbuffer.3t index 55b507e1..47b5c19e 100644 --- a/man/TIFFbuffer.3t +++ b/man/TIFFbuffer.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFbuffer.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFbuffer.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ .\" .\" Copyright (c) 1995 Sam Leffler .\" Copyright (c) 1995 Silicon Graphics, Inc. diff --git a/man/TIFFcodec.3t b/man/TIFFcodec.3t index 34eb4264..2ce0f765 100644 --- a/man/TIFFcodec.3t +++ b/man/TIFFcodec.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFcodec.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFcodec.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ .\" .\" Copyright (c) 1995 Sam Leffler .\" Copyright (c) 1995 Silicon Graphics, Inc. diff --git a/man/TIFFmemory.3t b/man/TIFFmemory.3t index c0e872f8..f2bb2687 100644 --- a/man/TIFFmemory.3t +++ b/man/TIFFmemory.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFmemory.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFmemory.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ .\" .\" Copyright (c) 1995 Sam Leffler .\" Copyright (c) 1995 Silicon Graphics, Inc. diff --git a/man/TIFFquery.3t b/man/TIFFquery.3t index 26beeec0..c54eece0 100644 --- a/man/TIFFquery.3t +++ b/man/TIFFquery.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFquery.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFquery.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. diff --git a/man/TIFFsize.3t b/man/TIFFsize.3t index eefde345..bf1497a9 100644 --- a/man/TIFFsize.3t +++ b/man/TIFFsize.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFsize.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFsize.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. diff --git a/man/TIFFstrip.3t b/man/TIFFstrip.3t index 1f0b6abe..b34fbb49 100644 --- a/man/TIFFstrip.3t +++ b/man/TIFFstrip.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFstrip.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFstrip.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ .\" .\" Copyright (c) 1992-1997 Sam Leffler .\" Copyright (c) 1992-1997 Silicon Graphics, Inc. diff --git a/man/TIFFswab.3t b/man/TIFFswab.3t index 7cc5b107..6388408e 100644 --- a/man/TIFFswab.3t +++ b/man/TIFFswab.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFswab.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/TIFFswab.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. diff --git a/man/TIFFtile.3t b/man/TIFFtile.3t index 3e6210d3..e17af746 100644 --- a/man/TIFFtile.3t +++ b/man/TIFFtile.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/TIFFtile.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $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. diff --git a/man/fax2ps.1 b/man/fax2ps.1 index 0e791ca7..0211e25f 100644 --- a/man/fax2ps.1 +++ b/man/fax2ps.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/fax2ps.1,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/fax2ps.1,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ .\" .\" Copyright (c) 1991-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/fax2tiff.1 b/man/fax2tiff.1 index 7f9dbbf5..22399af3 100644 --- a/man/fax2tiff.1 +++ b/man/fax2tiff.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/fax2tiff.1,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/fax2tiff.1,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ .\" .\" Copyright (c) 1990-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/gif2tiff.1 b/man/gif2tiff.1 index 0772485d..2c763085 100644 --- a/man/gif2tiff.1 +++ b/man/gif2tiff.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/gif2tiff.1,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/gif2tiff.1,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ .\" .\" Copyright (c) 1991-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/libtiff.3t b/man/libtiff.3t index 5db40e36..95811de5 100644 --- a/man/libtiff.3t +++ b/man/libtiff.3t @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/libtiff.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/libtiff.3t,v 1.2 1999/09/06 15:25:10 mwelles Exp $ .\" .\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. @@ -384,6 +384,14 @@ or for other purposes. The default value is a pointer to a builtin function that images packed bilevel data. .TP +.B TIFFTAG_IPTCNEWSPHOTO +Tag contaings image metadata per the IPTC newsphoto spec: Headline, +captioning, credit, etc... Used by most wire services. +.TP +.B TIFFTAG_PHOTOSHOP +Tag contains Photoshop captioning information and metadata. Photoshop +uses in parallel and redundantly alongside IPTCNEWSPHOTO information. +.TP .B TIFFTAG_JPEGQUALITY Control the compression quality level used in the baseline algorithm. Note that quality levels are in the range 0-100 with a default value of 75. diff --git a/man/pal2rgb.1 b/man/pal2rgb.1 index 579d8e06..cb890217 100644 --- a/man/pal2rgb.1 +++ b/man/pal2rgb.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/pal2rgb.1,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/pal2rgb.1,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ .\" .\" Copyright (c) 1990-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/ppm2tiff.1 b/man/ppm2tiff.1 index 9c67b5de..3cc403e1 100644 --- a/man/ppm2tiff.1 +++ b/man/ppm2tiff.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/ppm2tiff.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/ppm2tiff.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1991-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/ras2tiff.1 b/man/ras2tiff.1 index ebe1a329..797ba058 100644 --- a/man/ras2tiff.1 +++ b/man/ras2tiff.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/ras2tiff.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/ras2tiff.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1990-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/rgb2ycbcr.1 b/man/rgb2ycbcr.1 index 93ac1407..07abef6d 100644 --- a/man/rgb2ycbcr.1 +++ b/man/rgb2ycbcr.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/rgb2ycbcr.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/rgb2ycbcr.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1991-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/sgi2tiff.1 b/man/sgi2tiff.1 index 3b5c9364..69eede9d 100644 --- a/man/sgi2tiff.1 +++ b/man/sgi2tiff.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/sgi2tiff.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/sgi2tiff.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1991-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/thumbnail.1 b/man/thumbnail.1 index e437b34f..8f44c115 100644 --- a/man/thumbnail.1 +++ b/man/thumbnail.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/thumbnail.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/thumbnail.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1994-1997 Sam Leffler .\" Copyright (c) 1994-1997 Silicon Graphics, Inc. diff --git a/man/tiff2bw.1 b/man/tiff2bw.1 index 5b896489..6d04dbb0 100644 --- a/man/tiff2bw.1 +++ b/man/tiff2bw.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiff2bw.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiff2bw.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/tiff2ps.1 b/man/tiff2ps.1 index ed1f939a..7dc490fb 100644 --- a/man/tiff2ps.1 +++ b/man/tiff2ps.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiff2ps.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiff2ps.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/tiffcmp.1 b/man/tiffcmp.1 index 0976c492..948ad364 100644 --- a/man/tiffcmp.1 +++ b/man/tiffcmp.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiffcmp.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiffcmp.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/tiffcp.1 b/man/tiffcp.1 index 6c2719a8..0c8cea5e 100644 --- a/man/tiffcp.1 +++ b/man/tiffcp.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiffcp.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiffcp.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/tiffdither.1 b/man/tiffdither.1 index 9126bbac..ea2e5072 100644 --- a/man/tiffdither.1 +++ b/man/tiffdither.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiffdither.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiffdither.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1990-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/tiffdump.1 b/man/tiffdump.1 index 5e4fa208..6c3d2d5a 100644 --- a/man/tiffdump.1 +++ b/man/tiffdump.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiffdump.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiffdump.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/tiffgt.1 b/man/tiffgt.1 index dbf56bf7..840ca276 100644 --- a/man/tiffgt.1 +++ b/man/tiffgt.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiffgt.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiffgt.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/tiffinfo.1 b/man/tiffinfo.1 index 91a55040..96a9c56d 100644 --- a/man/tiffinfo.1 +++ b/man/tiffinfo.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiffinfo.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiffinfo.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/tiffmedian.1 b/man/tiffmedian.1 index 35fa249b..b9a89913 100644 --- a/man/tiffmedian.1 +++ b/man/tiffmedian.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiffmedian.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiffmedian.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1990-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. diff --git a/man/tiffsplit.1 b/man/tiffsplit.1 index c462f56d..7e13dc1d 100644 --- a/man/tiffsplit.1 +++ b/man/tiffsplit.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiffsplit.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiffsplit.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1992-1997 Sam Leffler .\" Copyright (c) 1992-1997 Silicon Graphics, Inc. diff --git a/man/tiffsv.1 b/man/tiffsv.1 index ec352363..0ad0676c 100644 --- a/man/tiffsv.1 +++ b/man/tiffsv.1 @@ -1,4 +1,4 @@ -.\" $Header: /usr/local/cvs/internal/libtiff/man/tiffsv.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ +.\" $Header: /cvsroot/osrs/libtiff/man/tiffsv.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $ .\" .\" Copyright (c) 1988-1997 Sam Leffler .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. |