(Page 6 of 6 in this chapter)
NFX_CONVERT_PARMS
- The NFX_CONVERT_PARMS structure specifies attributes which are used by nfxConvertFileDirect.
encoding
Default Value
- NFX_ENCODE_1D
Allowed Values
- NFX_ENCODE_1D or NFX_ENCODE_2D
Description
- This parameter specifies the encoding of the data to be stored in the output file. The input file data may be in either NFX_ENCODE_1D or NFX_ENCODE_2D encoding. Note that the encoding affects the size of image data only; it does not affect the appearance of the image.
pagewidth
Default Value
- NFX_PAGE_WIDTH_A4
Allowed Values
- NFX_PAGE_WIDTH_A4, NFX_PAGE_WIDTH_B4, or NFX_PAGE_WIDTH_A3
Description
- This parameter specifies the page width of the data to be stored in the output file. The input file data may have any of the allowed page widths. Note that the number of picture elements (pels) per line is 1728, 2048, and 2432 for NFX_PAGE_WIDTH_A4, NFX_PAGE_WIDTH_B4 and NFX_PAGE_WIDTH_A3, respectively. All are packed with the resolution of 200 picture elements per inch. Converting to a narrower page results in shrinking each line. Converting to a wider page results in padding the right side of the page with blank space.
resolution
Default Value
- NFX_RESOLUTION_LOW
Allowed Values
- NFX_RESOLUTION_LOW, NFX_RESOLUTION_HIGH, or NFX_RESOLUTION_SUPER_HIGH
Description
- This parameter specifies the vertical resolution of the data to be stored in the output file. The input file data may have any of the allowed resolutions. The resolution is 3.85, 7.7, and 15.4 scan lines per millimeter for NFX_RESOLUTION_LOW, NFX_RESOLUTION_HIGH, and NFX_RESOLUTION_SUPER_HIGH, respectively. Note that the horizontal resolution of the data is the same for NFX_RESOLUTION_LOW, NFX_RESOLUTION_HIGH, and NFX_RESOLUTION_SUPER_HIGH. The image appearance will be affected by a change in resolution.
type
Default Value
- NFX_TIFF_F
Allowed Values
- NFX_TIFF_F
Description
- This parameter specifies the overall format of the input file. The only format supported in this release is TIFF-F.
badlineaction
Default Value
- NFX_BAD_LINE_ACTION_REPT
Allowed Values
- NFX_BAD_LINE_ACTION_REPT, NFX_BAD_LINE_ACTION_DROP, or NFX_BAD_LINE_ACTION_TICK
Description
- This parameter specifies how bad lines that are discovered in the input file are to appear in the output file. The default, NFX_BAD_LINE_ACTION_REPT, is to repeat the picture elements of the nearest previous good line. For NFX_BAD_LINE_ACTION_DROP, the bad line is eliminated from the destination file. For NFX_BAD_LINE_ACTION_TICK, the bad line is replaced by a blank line with a short black mark at either end.
- When the source file has 2D encoding, an error in a single line may cause up to three subsequent lines to be considered bad as well.
(Page 6 of 6 in this chapter)
tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights
reserved.