/* Set the current directory to be the directory located at the specified file offset. This interface is used mainly to access directories linked with the SubIFD tag (e.g. thumbnail images).  */
int TIFFSetSubDirectory(TIFF *tif, uint64 diroff)
/* Set the current directory to be the directory located at the specified file offset. This interface is used mainly to access directories linked with the SubIFD tag (e.g. thumbnail images).  */
int TIFFSetSubDirectory(TIFF *tif, uint64 diroff)
{
	tif->tif_nextdiroff = diroff;
	tif->tif_dirnumber = 0;
	return (TIFFReadDirectory(tif));
}