- DWORD nfxCheckTIFF ( CTAHD ctahd,
char *input_file_name,
DWORD *number_of_pages,
DWORD tracked_pages,
NFX_CHECK_STATUS *page_array)
- ctahd CTA context handle returned by ctaCreateContext.
- input_file_name Name of file to check for TIFF-F or TIFF-S format.
- number_of_pages Pointer to the location that receives the number of pages in the input file.
- tracked_pages Number of pages to be reported in the array of NFX_CHECK_STATUS structures.
- page_array Pointer to an array of NFX_CHECK_STATUS structures. The count of entries in the array equals the value for tracked_pages. The NFX_CHECK_STATUS structure is defined as follows:
typedef struct
{
DWORD size; /* size of this structure */
DWORD resolution; /* NFX_RESOLUTION_HIGH, */
/* NFX_RESOLUTION_LOW, or */
/* NFX_RESOLUTION_SUPER_HIGH */
DWORD encoding; /* NFX_ENCODE_1D, NFX_ENCODE_2D, */
/* NFX_ENCODE_MMR, or NFX_ENCODE_TIFF_S */
DWORD pagewidth; /* NFX_PAGE_WIDTH_A4, NFX_PAGE_WIDTH_B4, */
/* or NFX_PAGE_WIDTH_A3 */
DWORD lines; /* number of lines on the page */
DWORD badlines; /* number of bad lines on the page */
} NFX_CHECK_STATUS;