The `tiffread31_header` function is slow to iterate over the IFDs in large files. `imfinfo` is fast, but reads all tags.