/* Note that if RowsPerStrip is larger than the recorded ImageLength, then the strip size is truncated to reflect the actual space required to hold the strip.  */
uint64 TIFFStripSize64(TIFF *tif)
/* Note that if RowsPerStrip is larger than the recorded ImageLength, then the strip size is truncated to reflect the actual space required to hold the strip.  */
uint64 TIFFStripSize64(TIFF *tif)
{
	TIFFDirectory* td = &tif->tif_dir;
	uint32 rps = td->td_rowsperstrip;
	if (rps > td->td_imagelength)
		rps = td->td_imagelength;
	return (TIFFVStripSize64(tif, rps));
}