QUERY

Section: Misc. Reference Manual Pages (3T)
Updated: December 16, 1991
Index Return to Main Contents
 

NAME

TIFFCurrentRow, TIFFCurrentStrip, TIFFCurrentTile, TIFFCurrentDirectory, TIFFFileno, TIFFFileName, TIFFGetMode, TIFFIsTiled - query routines  

SYNOPSIS

#include <tiffio.h>
long TIFFCurrentRow(TIFF* tif)
int TIFFCurrentStrip(TIFF* tif)
int TIFFCurrentTile(TIFF* tif)
int TIFFCurrentDirectory(TIFF* tif)
int TIFFFileno(TIFF* tif)
char* TIFFFileName(TIFF* tif)
int TIFFGetMode(TIFF* tif)
int TIFFIsTiled(TIFF* tif)  

DESCRIPTION

The following routines return status information about an open TIFF file.

TIFFCurrentDirectory() returns the index of the current directory (directories are numbered starting at 0). This number is suitable for use with the TIFFSetDirectory() routine.

TIFFCurrentRow(), TIFFCurrentStrip(), and TIFFCurrentTile(), return the current row, strip, and tile, respectively, that is being read or written. These values are updated each time a read or write is done.

TIFFFileno() returns the underlying file descriptor used to access the TIFF image in the filesystem.

TIFFFileName() returns the pathname argument passed to TIFFOpen() or TIFFFdOpen().

TIFFGetMode() returns the mode with which the underlying file was opened. On UNIX systems, this is the value passed to the open(2) system call.

TIFFIsTiled() returns a non-zero value if the image data has a tiled organization. Zero is returned if the image data is organized in strips.  

DIAGNOSTICS

None.  

SEE ALSO

intro(3T), TIFFOpen(3T), TIFFFdOpen(3T)


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 01:45:58 GMT, February 01, 2023