Make specified IFD current IFD
setDirectory(tiffobj,dirNum) sets the image
file directory (IFD) specified by
dirNum as the
Tiff object methods operate on the
current IFD. The directory index number is one-based.
Open a TIFF file and move to an IFD in the file by specifying its index number. The TIFF file should contain multiple images.
t = Tiff('example.tif','r'); setDirectory(t,2) close(t)
This method corresponds to the
in the LibTIFF C API. To use this method, you must be familiar with
the TIFF specification and technical notes. View this documentation
- TIFF Library and Utilities.