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