Read directory info from a TIFF file
readTIFFDirectory(path, all = FALSE)
Path to a TIFF file
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.
A list (if all==FALSE
or length 1) or list of lists
(if all==TRUE
) containing
directory info for the images in the file.