Generates raster images from anchored frames that contain multiple graphic objects.
When referencing images, the DITA model can only reference a single file; it cannot reference a collection of images or graphic objects with callouts. If your source FrameMaker files make use of anchored frames that contain multiple referenced graphics or include graphic overlay objects (callouts, arrows, boxes, etc.), you’ll need to replace those with single referenced images.
The best way to do this is to manually go through all such cases and clean them up. A common way of handling images with overlaid callouts is to replace the text callouts with numeric or character-based identifier bubbles, then add a textual legend below the graphic. This can take time, and if you don’t have the time to deal with it properly, you can use this command to generate raster images from the content in the anchored frames.
This command requires initial setup in the AFrameToRaster section of the fm2dita.ini file. The following options may be set:
ImageType - the graphic format generated from the objects in the anchored frame. Possible types are: JPG, PNG, GIF, TIF, or a valid export filter hint string (use the List Import/Export Filters command to get the valid export filter hint strings for your installation).
ImageFilenameTemplate - a string that defines the “template” to be used for the graphic file names when generating the images. This string is a combination of plain text and building blocks that make up a file name. There are three special building blocks for use with this command: <$IMG-DOCNAME> (the document name), <$IMG-IMGNAME> (the first image file name in anchored frame [may be null]), and <$IMG-COUNT> (the nth aframe processed)
ImagePath - the folder or path where the image files are generated.
ImageDpi - the DPI of the raster images generated.
ConvertTypes - an optional parameter that can be used to generate new raster images from existing images of specified types. This parameter is a space-delimited list of file types.
Refer to the information in Editing the fm2dita.ini File for additional information on these INI parameters.
This command must be run before applying the conversion table.