TIFFSetDirectory, TIFFSetSubDirectory − set the current directory for an open TIFF file
TIFFSetDirectory(TIFF *tif, tdir_t
int TIFFSetSubDirectory(TIFF *tif, uint32 diroff)
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.
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.
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.
TIFFCurrentDirectory(3TIFF), TIFFOpen(3TIFF), TIFFReadDirectory(3TIFF), TIFFWriteDirectory(3TIFF), libtiff(3TIFF)
Libtiff library home page: http://www.remotesensing.org/libtiff/
More Linux Commands
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
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
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
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
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
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
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
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
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
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
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
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