Processing Logic
By default every imagable object is left as the same type as in the input. For example, an input file containing a single overlay would be output as an overlay. The -pagetype option can be used to force conversion of each imagable object to the specified type, such as page, overlay, or page segment.
The img2afp transform does not have the ability to rasterize non-IOCA data. If an input imagable object contains a mixture of IOCA and non-IOCA data, the transform just passes the non-IOCA data through. In the output, the image is put on the bottom and the other OCA data is put on top. If the input data stream intermixes the OCAs (for example, part of the text is obscured by an image), the output page displays incorrectly. If FS10 (bi-level) output is chosen and the non-IOCA data contains color, the resulting output might fail on a black and white printer.