*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> ifl/TIFFSetDirectory (3)              
Title
Content
Arch
Section
 

Contents


TIFFSetDirectory(3T)		     Image Format Library C++ Reference	Manual


NAME    [Toc]    [Back]

     TIFFSetDirectory, TIFFSetSubDirectory - set the current directory for an
     open TIFF file

SYNOPSIS    [Toc]    [Back]

     #include <tiffio.h>
     int TIFFSetDirectory(TIFF*	tif, tdir_t dirnum)
     int TIFFSetSubDirectory(TIFF* tif,	uint32 diroff)

DESCRIPTION    [Toc]    [Back]

     TIFFSetDirectory changes the current directory and	reads its contents
     with TIFFReadDirectory.  The parameter dirnum specifies the
     subfile/directory as an integer number, with the first directory numbered
     zero.

     TIFFSetSubDirectory acts like TIFFSetDirectory, except the	directory is
     specified as a file offset	instead	of an index; this is required for
     accessing subdirectories linked through a SubIFD tag.

RETURN VALUES    [Toc]    [Back]

     On	successful return 1 is returned.  Otherwise, 0 is returned if dirnum
     or	diroff specifies a non-existent	directory, or if an error was
     encountered while reading the directory's contents.

DIAGNOSTICS    [Toc]    [Back]

     All error messages	are directed to	the TIFFError(3T) routine.

     %s: Error fetching	directory count.  An error was encountered while
     reading the ``directory count'' field.

     %s: Error fetching	directory link.	 An error was encountered while
     reading the ``link	value''	that points to the next	directory in a file.

SEE ALSO    [Toc]    [Back]

      
      
     libtiff(3T), TIFFCurrentDirectory(3T), TIFFOpen(3T),
     TIFFReadDirectory(3T), TIFFWriteDirectory(3T)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
TIFFWriteDirectory IRIX write the current directory in an open TIFF file
TIFFReadDirectory IRIX get the contents of the next directory in an open TIFF file
TIFFGetField IRIX get the value(s) of a tag in an open TIFF file
TIFFSetField IRIX set the value(s) of a tag in a TIFF file open for writing
TIFFOpen IRIX open a TIFF file for reading or writing
TIFFWriteScanline IRIX write a scanline to an open TIFF file
TIFFsize IRIX return the size of various items associated with an open TIFF file
TIFFWriteRawStrip IRIX write a strip of raw data to an open TIFF file
XTIFFOpen IRIX open an extended TIFF file for reading or writing
TIFFFlush IRIX flush pending writes to an open TIFF file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service