Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

nextDirectory

Class: Tiff

Make next IFD current IFD

Syntax

nextDirectory(tiffobj)

Description

nextDirectory(tiffobj) makes the next image file directory (IFD) in the file the current IFD. Tiff object methods operate on the current IFD. Use this method to navigate among IFDs in a TIFF file containing multiple images.

Examples

expand all

Open a Tiff object and change the current IFD to the next IFD in the file.

t = Tiff('example.tif','r');
nextDirectory(t);
close(t);

References

This method corresponds to the TIFFReadDirectory function in the LibTIFF C API. To use this method, you must be familiar with the TIFF specification and technical notes. View this documentation at LibTIFF - TIFF Library and Utilities.

Was this topic helpful?