Identifying AFP images in the image map configuration file
You can identify the images from the configuration file from the name, position, and size information, or you can work with the afp2pdf transform command to visually identify individual images. By creating empty image entries and then commenting out a single entry in the file, you can identify the image when you rerun the transform and the image is generated in the output PDF file.
To identify individual images:
- Define empty image information entries for all images in the image map configuration
file. Empty entries do not include any image information between the starting <IMAGE>
and ending <IMAGE_END> lines. For example:
<IMAGE position:(0.863in,8.483in) size:(2.400in,0.667in)><IMAGE_END>
- Comment out the first image in the configuration file by adding slashes before the
entry. For example:
//<IMAGE position:(5.250in,0.613in) size:(0.667in,0.800in)> //<IMAGE_END> <IMAGE position:(0.863in,8.483in) size:(2.400in,0.667in)> <IMAGE_END> <IMAGE position:(3.596in,8.550in) size:(2.633in,0.700in)> <IMAGE_END> <IMAGE name:(S1PSEG01) position:(6.162in,8.483in) size:(2.067in,0.604in)> <IMAGE_END>
- Run afp2pdf to generate a PDF file that contains only the image that you commented out. For example:
afp2pdf c:\documents\afpdoc.afp, where
c:\documents\afpdoc.afpis the directory and file name of the converted AFP document .