Convert Image (QIMGCVTI) API

The Convert Image API provides the same transform capabilities as the image print transform function. In addition, printing with the Convert Image API gives the user more control over how the output will look than the image print transform function does. It gives the user the ability to immediately transform a data stream when delaying the transform is not desired. It also has more options regarding the type of input object and output object. The Convert Image API supports input from and output to an integrated file system file, a spooled file, or main storage. The Convert Image API can also generate a spooled file, which can then be transformed with the image print transform function. When this is done, the Convert Image API stores all the values needed to do the transform in the user-defined data attribute of the spooled file for later use by the image print transform function. For more information on how to use the Convert Image API, see the Convert Image (QIMGCVTI, QimgCvtImg) API in the Programming topic.