TIFFSetDirectory
NAMESYNOPSIS
DESCRIPTION
RETURN VALUES
DIAGNOSTICS
SEE ALSO
NAME
TIFFSetDirectory, TIFFSetSubDirectory − set the current directory for an open TIFF file
SYNOPSIS
#include <tiffio.h>
int
TIFFSetDirectory(TIFF *tif, tdir_t
dirnum)
int TIFFSetSubDirectory(TIFF *tif, uint32
diroff)
DESCRIPTION
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
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
All error messages are directed to the TIFFError(3TIFF) 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
TIFFCurrentDirectory(3TIFF), TIFFOpen(3TIFF), TIFFReadDirectory(3TIFF), TIFFWriteDirectory(3TIFF), libtiff(3TIFF)
Libtiff library home page: http://www.remotesensing.org/libtiff/
More Linux Commands
manpages/Mail::SPF::Mech::PTR.3pm.html
Mail::SPF::Mech::PTR(3pm) - SPF record "ptr" mechanism class
An object of class Mail::SPF::Mech::PTR represents an SPF record mechanism of type ptr. Constructors The following constructors are provided: new(%options): ret
manpages/glLoadMatrixd.3gl.html
glLoadMatrixd(3gl) - replace the current matrix with the spe
glLoadMatrix replaces the current matrix with the one whose elements are specified by m. The current matrix is the projection matrix, modelview matrix, or textu
manpages/XOMOfOC.3.html
XOMOfOC(3) - create output contexts - Linux manual page.....
The XCreateOC function creates an output context within the specified output method. The base font names argument is mandatory at creation time, and the output
manpages/pcre_utf16_to_host_byte_order.3.html
pcre_utf16_to_host_byte_order(3) Perl-compatible regular exp
pcre_utf16_to_host_byte_order.3 - This function, which exists only in the 16-bit library, converts a UTF-16 string to the correct order for the current host, ta
manpages/perllol.1.html
perllol(1) - Manipulating Arrays of Arrays in Perl (ManPage)
Declaration and Access of Arrays of Arrays The simplest two-level data structure to build in Perl is an array of arrays, sometimes casually called a list of lis
manpages/XSetDeviceModifierMapping.3.html
XSetDeviceModifierMapping(3) - query or change device modifi
The XSetDeviceModifierMapping request specifies the KeyCodes of the keys (if any) that are to be used as modifiers for the specified device. If it succeeds, the
manpages/fdim.3.html
fdim(3) - positive difference (Library - Linux man page)....
These functions return the positive difference, max(x-y,0), between their arguments. RETURN VALUE On success, these functions return the positive difference. If
manpages/XtRemoveInput.3.html
XtRemoveInput(3) - register and remove an input source......
The XtAppAddInput function registers with the Intrinsics read routine a new source of events, which is usually file input but can also be file output. Note that
manpages/Tcl_GetCurrentNamespace.3.html
Tcl_GetCurrentNamespace(3) - manipulate namespaces (ManPage)
Namespaces are hierarchic naming contexts that can contain commands and variables. They also maintain a list of patterns that describes what commands are export
manpages/acl_get_fd.3.html
acl_get_fd(3) - get an ACL by file descriptor (Man Page)....
The acl_get_fd() function retrieves the access ACL associated with the file referred to by fd. The ACL is placed into working storage and acl_get_fd() returns a
manpages/git-ls-remote.1.html
git-ls-remote(1) - List references in a remote repository...
Displays references available in a remote repository along with the associated commit IDs. OPTIONS -h, --heads, -t, --tags Limit to only refs/heads and refs/tag
manpages/Tcl_SetCommandInfoFromToken.3.html
Tcl_SetCommandInfoFromToken(3) - implement new commands in C
Tcl_CreateObjCommand defines a new command in interp and associates it with procedure proc such that whenever name is invoked as a Tcl command (e.g., via a call
