event=0xc0 )ˆ 0Ç¿Ë -ˆ 0Ç¿Ë /ˆ 0Ç¿Ë 1ˆ 0Ç¿Ë + 7ˆl–ßi~”TËm q@·q¶n6ʘ´oÏ ƒu¶Ý_‡I|¥ŠèªÁÍ … 7
TIFFReadDirectory − get the contents of the next directory in an open TIFF file
#include <tiffio.h>
int TIFFReadDirectory(TIFF *tif)
Read the next directory in the specified file and make it the current directory. Applications only need to call TIFFReadDirectory to read multiple subfiles in a single TIFF file— the first directory in a file is automatically read when TIFFOpen is called.
If the library is compiled with STRIPCHOP_SUPPORT enabled, then images that have a single uncompressed strip or tile of data are automatically treated as if they were made up of multiple strips or tiles of approximately 8 kilobytes each. This operation is done only in-memory; it does not alter the contents of the file. However, the construction of the ‘‘chopped strips’’ is visible to the application through the number of strips [tiles] returned by TIFFNumberOfStrips [TIFFNumberOfTiles].
If the next directory was successfully read, 1 is returned. Otherwise, 0 is returned if an error was encountered, or if there are no more directories to be read.
All error messages are directed to the TIFFError(3TIFF) routine. All warning messages are directed to the TIFFWarning(3TIFF) routine.
Seek error accessing TIFF directory. An error occurred while positioning to the location of the directory.
Wrong data type %d for field "%s". The tag entry in the directory had an incorrect data type. For example, an ImageDescription tag with a SHORT data type.
TIFF directory is missing required "%s" field. The specified tag is required to be present by the TIFF 5.0 specification, but is missing. The directory is (usually) unusable.
%s: Rational with zero denominator. A directory tag has a RATIONAL value whose denominator is zero.
Incorrect count %d for field "%s" (%lu, expecting %lu); tag igno