- DWORD nfxConvertFileDirect ( CTAHD ctahd,
char *input_file,
char *output_file,
NFX_CONVERT_PARMS *ptr_convert_parms,
DWORD *ptr_converted_pages)
- ctahd CTA context handle returned by ctaCreateContext.
- input_file Pointer to an existing file to be converted.
- output_file Pointer to file to be created to receive the conversion output.
- ptr_convert_parms Pointer to a structure of parameters which identifies the options for the output format. The NFX_CONVERT_PARMS structure is defined as follows:
typedef struct
{
DWORD size;
DWORD type; /* NFX_TIFF_F or NFX_TIFF_S */
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 badlineaction; /* NFX_BAD_LINE_ACTION_NONE, */
/* NFX_BAD_LINE_ACTION_DROP, */
/* NFX_BAD_LINE_ACTION_REPT, or */
/* NFX_BAD_LINE_ACTION_TICK */
} NFX_CONVERT_PARMS;
- ptr_converted_pages Pointer to a location to receive a count of the number of pages converted.