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

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

Contents


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


NAME    [Toc]    [Back]

     TIFFWriteDirectory	- write	the current directory in an open TIFF file

SYNOPSIS    [Toc]    [Back]

     #include <tiffio.h>
     int TIFFWriteDirectory(TIFF* tif)

DESCRIPTION    [Toc]    [Back]

     Write the contents	of the current directory to the	file and setup to
     create a new subfile in the same file.  Applications only need to call
     TIFFWriteDirectory	when writing multiple subfiles to a single TIFF	file.
     TIFFWriteDirectory	is automatically called	by TIFFClose and TIFFFlush to
     write a modified directory	if the file is open for	writing.

RETURN VALUES    [Toc]    [Back]

     1 is returned when	the contents are successfully written to the file.
     Otherwise,	0 is returned if an error was encountered when writing the
     directory contents.

DIAGNOSTICS    [Toc]    [Back]

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

     Error post-encoding before	directory write.  Before writing the contents
     of	the current directory, any pending data	are flushed.  This message
     indicates that an error occurred while doing this.

     Error flushing data before	directory write.  Before writing the contents
     of	the current directory, any pending data	are flushed.  This message
     indicates that an error occurred while doing this.

     Cannot write directory, out of space.  There was not enough space to
     allocate a	temporary area for the directory that was to be	written.

     Error writing directory count.  A write error occurred when writing the
     count of fields in	the directory.

     Error writing directory contents.	A write	error occurred when writing
     the directory fields.

     Error writing directory link.  A write error occurred when	writing	the
     link to the next directory.

     Error writing data	for field "%s".	 A write error occurred	when writing
     indirect data for the specified field.

     Error writing TIFF	header.	 A write error occurred	when re-writing	header
     at	the front of the file.

     Error fetching directory count.  A	read error occurred when fetching the
     directory count field for a previous directory.  This can occur when
     setting up	a link to the directory	that is	being written.




									Page 1






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



     Error fetching directory link.  A read error occurred when	fetching the
     directory link field for a	previous directory.  This can occur when
     setting up	a link to the directory	that is	being written.

SEE ALSO    [Toc]    [Back]

      
      
     libtiff(3T), TIFFOpen(3T),	TIFFError(3T), TIFFReadDirectory(3T),
     TIFFSetDirectory(3T)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
TIFFSetDirectory IRIX set the current directory for an open TIFF file
TIFFWriteScanline IRIX write a scanline to an open TIFF file
TIFFWriteRawStrip IRIX write a strip of raw data to an open TIFF file
TIFFWriteRawTile IRIX write a tile of raw data to an open TIFF file
TIFFWriteEncodedTile IRIX compress and write a tile of data to an open TIFF file
TIFFWriteEncodedStrip IRIX compress and write a strip of data to 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
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service