Read directory info from a TIFF file

readTIFFDirectory(path, all = FALSE)

Arguments

path

Path to a TIFF file

all

If all=TRUE then directory info from all images is returned in a list of lists. If all is a vector, it gives the (1-based) indices of info to return. Otherwise only info for the first image is returned.

Value

A list (if all==FALSE or length 1) or list of lists (if all==TRUE) containing directory info for the images in the file.