Description
The img2afp command conditions an FS45 image file for printing on a high-speed color printer, such as the InfoPrint Color 130 Plus, or transforms the FS45 image into an FS10 image with halftones for printing on a bi-level black and white printer, such as the InfoPrint 4100 printer. The img2afp command can only be invoked from the command line.
By default for FS45 output, img2afp merges the images and tiles in the input data stream so that the output has the specified number of objects on each scanline and contains three types of images: contone, linework, and bi-level. Even though the images in the input data might be merged, the datatypes remain the same, that is, linework remains linework. img2afp produces output that is suitable for high-speed color printing, so the transform applies any indicated image processing operations, such as scaling, cropping, or rotating, to the input data. img2afp rasterizes any image resources and merges them in the output.
img2afp can also output bi-level FS10 output by converting the FS45 object to grayscale halftones using the lookup table and merging them into a single image.
img2afp uses an ordered dither algorithm, where the screen (threshold array) can be specified on the command line. To support multi-engine printers, separate grayscale calibrations can be specified for front and back sides of the output, and the -e option can be used to determine which pages are front and which pages are back.
For more information about the img2afp transform, see “Working with Transforms” in the InfoPrint Manager: Procedures manual that is appropriate for your operating system.