CMS Redbook Overview

Page 234

Substituting AFP shaded images with colored areas You can substitute all or some of the images with a solid-colored rectangle. This is especially useful for improving the look of the shaded areas that are defined as images in the AFP data stream. Adding an image not in the AFP data You can add an image that is not part of the AFP data to the PDF display that models the use of a preprinted form used during printing. Caching frequently used images You can cache frequently used images to reduce the size of a PDF file. The configuration file handles all the transform processing for the images. For example, when the transform program is run against an AFP document and an image is encountered, the program looks for a matching image entry in the configuration file. If an entry is defined that matches the name, position, size, or a combination of the three, the information in the configuration file is used for the transform of the image.

Creating the image map file To map images for your AFP files, you must create an image map configuration file. The best way to do this is to transform a sample AFP document that represents all documents that will use the configuration file. You then identify the image entries created during the transform and define them in the configuration file. Run the afp2pdf command using the afpdoc AFP document: afp2pdf c:\documents\afpdoc.afp

We get two files: c:\documents\afpdoc.pdf (PDF file for the AFP document) c:\imagemap.out (a file with image information for the AFP document; see Example 9-11) Note: The image information file is generated according the ImageMapEntries_File parameter in AFP2PDF Options File. Refer to “Control files� on page 266.

Chapter 9. Data conversion

267


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.