|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
<meta content="groff -Thtml, see www.gnu.org" name="generator">
|
|
roentgen |
b75cab |
<meta content="text/css" name="Content-Style">
|
|
roentgen |
b75cab |
<title>TIFFSetDirectory</title>
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
TIFFSetDirectory
|
|
roentgen |
b75cab |
NAME
|
|
roentgen |
b75cab |
SYNOPSIS
|
|
roentgen |
b75cab |
DESCRIPTION
|
|
roentgen |
b75cab |
RETURN VALUES
|
|
roentgen |
b75cab |
DIAGNOSTICS
|
|
roentgen |
b75cab |
SEE ALSO
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
NAME
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
TIFFSetDirectory, TIFFSetSubDirectory − set the
|
|
roentgen |
b75cab |
current directory for an open <small>TIFF</small> file
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
SYNOPSIS
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
#include <tiffio.h>
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
int TIFFSetDirectory(TIFF *tif,
|
|
roentgen |
b75cab |
tdir_t dirnum)
|
|
roentgen |
b75cab |
int TIFFSetSubDirectory(TIFF *tif, uint32
|
|
roentgen |
b75cab |
diroff)
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
DESCRIPTION
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
TIFFSetDirectory changes the current directory and
|
|
roentgen |
b75cab |
reads its contents with TIFFReadDirectory. The
|
|
roentgen |
b75cab |
parameter dirnum specifies the subfile/directory as
|
|
roentgen |
b75cab |
an integer number, with the first directory numbered
|
|
roentgen |
b75cab |
zero.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
TIFFSetSubDirectory acts like
|
|
roentgen |
b75cab |
TIFFSetDirectory, except the directory is specified
|
|
roentgen |
b75cab |
as a file offset instead of an index; this is required for
|
|
roentgen |
b75cab |
accessing subdirectories linked through a SubIFD
|
|
roentgen |
b75cab |
tag.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
RETURN VALUES
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
On successful return 1 is returned. Otherwise, 0 is
|
|
roentgen |
b75cab |
returned if dirnum or diroff specifies a
|
|
roentgen |
b75cab |
non-existent directory, or if an error was encountered while
|
|
roentgen |
b75cab |
reading the directory’s contents.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
DIAGNOSTICS
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
All error messages are directed to the
|
|
roentgen |
b75cab |
TIFFError(3TIFF) routine.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
%s: Error fetching directory count. An error was
|
|
roentgen |
b75cab |
encountered while reading the ‘‘directory
|
|
roentgen |
b75cab |
count’’ field.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
%s: Error fetching directory link. An error was
|
|
roentgen |
b75cab |
encountered while reading the ‘‘link
|
|
roentgen |
b75cab |
value’’ that points to the next directory in a
|
|
roentgen |
b75cab |
file.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
SEE ALSO
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
TIFFCurrentDirectory(3TIFF),
|
|
roentgen |
b75cab |
TIFFOpen(3TIFF), TIFFReadDirectory(3TIFF),
|
|
roentgen |
b75cab |
TIFFWriteDirectory(3TIFF), libtiff(3TIFF)
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
Libtiff library home page:
|
|
roentgen |
b75cab |
http://www.remotesensing.org/libtiff/
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|