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