GetTiffRowsPerStrip

#include "BITIFF.H"

UINT CALLBACK GetTiffRowsPerStrip(TIFFFILE hChain, int nImage)

Description

Retrieves the number of rows per strip value in a TIFF image.

Parameters

TIFFFILE

hChain

TIFF image chain handle.

int

nImage

Index of the image in the chain.

Return values

Number of rows per strip or 0 on failure. The function sets the error code to TNOSUCHTAG if no rows per strip value is stored in the TIFF file. In this case the function returns the height of the image, which is the default for rows per strip.

Requirements

Header :     Declared in BiTiff.h; include BiTiff.h.

Library :    Use BiTIFF.lib.

DLLs :       BiTiff.dll.