Blame man/TIFFPrintDirectory.3tiff

Packit 7838c8
.\" $Id: TIFFPrintDirectory.3tiff,v 1.1 2004-11-11 14:39:16 dron Exp $
Packit 7838c8
.\"
Packit 7838c8
.\" Copyright (c) 1991-1997 Sam Leffler
Packit 7838c8
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
Packit 7838c8
.\"
Packit 7838c8
.\" Permission to use, copy, modify, distribute, and sell this software and 
Packit 7838c8
.\" its documentation for any purpose is hereby granted without fee, provided
Packit 7838c8
.\" that (i) the above copyright notices and this permission notice appear in
Packit 7838c8
.\" all copies of the software and related documentation, and (ii) the names of
Packit 7838c8
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
Packit 7838c8
.\" publicity relating to the software without the specific, prior written
Packit 7838c8
.\" permission of Sam Leffler and Silicon Graphics.
Packit 7838c8
.\" 
Packit 7838c8
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
Packit 7838c8
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
Packit 7838c8
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
Packit 7838c8
.\" 
Packit 7838c8
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
Packit 7838c8
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
Packit 7838c8
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
Packit 7838c8
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
Packit 7838c8
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
Packit 7838c8
.\" OF THIS SOFTWARE.
Packit 7838c8
.\"
Packit 7838c8
.if n .po 0
Packit 7838c8
.TH TIFFPrintDirectory 3TIFF "December 12, 1991" "libtiff"
Packit 7838c8
.SH NAME
Packit 7838c8
TIFFPrintDirectory \- print a description of a
Packit 7838c8
.SM TIFF
Packit 7838c8
directory
Packit 7838c8
.SH SYNOPSIS
Packit 7838c8
.B "#include <tiffio.h>"
Packit 7838c8
.sp
Packit 7838c8
.BI "void TIFFPrintDirectory(TIFF *" tif ", FILE *" fd ", long " flags ")"
Packit 7838c8
.SH DESCRIPTION
Packit 7838c8
.I TIFFPrintDirectory
Packit 7838c8
prints a description of the current directory in the specified
Packit 7838c8
.SM TIFF
Packit 7838c8
file to the standard I/O output stream
Packit 7838c8
.IR fd .
Packit 7838c8
The
Packit 7838c8
.I flags
Packit 7838c8
parameter is used to control the
Packit 7838c8
.I "level of detail"
Packit 7838c8
of the printed information; it is a bit-or of the flags defined in
Packit 7838c8
.BR tiffio.h :
Packit 7838c8
.sp .5
Packit 7838c8
.nf
Packit 7838c8
.ta \w'#define 'u +\w'TIFFPRINT_JPEGDCTABLES  'u +\w'0x200   'u
Packit 7838c8
#define	TIFFPRINT_NONE	0x0	/* no extra info */
Packit 7838c8
#define	TIFFPRINT_STRIPS	0x1	/* strips/tiles info */
Packit 7838c8
#define	TIFFPRINT_CURVES	0x2	/* color/gray response curves */
Packit 7838c8
#define	TIFFPRINT_COLORMAP	0x4	/* colormap */
Packit 7838c8
#define	TIFFPRINT_JPEGQTABLES	0x100	/* JPEG Q matrices */
Packit 7838c8
#define	TIFFPRINT_JPEGACTABLES	0x200	/* JPEG AC tables */
Packit 7838c8
#define	TIFFPRINT_JPEGDCTABLES	0x200	/* JPEG DC tables */
Packit 7838c8
.fi
Packit 7838c8
.SH NOTES
Packit 7838c8
In C++ the
Packit 7838c8
.I flags
Packit 7838c8
parameter defaults to 0.
Packit 7838c8
.SH "RETURN VALUES"
Packit 7838c8
None.
Packit 7838c8
.SH DIAGNOSTICS
Packit 7838c8
None.
Packit 7838c8
.SH "SEE ALSO"
Packit 7838c8
.IR libtiff (3TIFF),
Packit 7838c8
.IR TIFFOpen (3TIFF),
Packit 7838c8
.IR TIFFReadDirectory (3TIFF),
Packit 7838c8
.IR TIFFSetDirectory (3TIFF)