TIFFWriteDirectory(3T) UNIX System V(May 2, 1990) TIFFWriteDirectory(3T)
NAME
TIFFWriteDirectory - write the current directory in an open TIFF file
SYNOPSIS
#include <tiffio.h>
int TIFFWriteDirectory(TIFF* tif)
DESCRIPTION
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() to
write a modified directory if the file is open for writing.
DIAGNOSTICS
All error messages are directed to the TIFFError(3T) routine.
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.
SEE ALSO
intro(3T), TIFFOpen(3T), TIFFError(3T), TIFFReadDirectory(3T),
TIFFSetDirectory(3T)
10/89 Page 1