Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 31 Working with graphics > 31.2 Converting and exporting graphics > 31.2.3 Exporting and converting embedded graphics > 31.2.3.2 Replacing embedded graphics

#### 31.2.3.2 Replacing embedded graphics

If you have access to the original image files, the best option is simply to replace the images in FrameMaker. This process can be labor intensive, but you have to do it only once. With each embedded graphic selected in FrameMaker, re-import the original graphic file by reference; the referenced graphic replaces the embedded graphic. Make sure you select the embedded image itself (not the anchored frame) before you import the replacement. See §2.5.2 Planning for graphics processing.

If you do not have access to the original image files, you can still export embedded graphics and bring them back in as referenced graphics, either with the file names assigned by Mif2Go (see §5.7.4.2 Naming files produced from embedded graphics), or after changing the assigned names to more suitable names. See §5.7.3.2 Processing embedded graphics separately.

If your document includes only a few graphics, you can match them visually with their embedded counterparts. If your document includes a great many graphics, the challenge will be to get them back into the correct anchored frames without scrutinizing each image individually.

The ASCII DCL produced when you export the embedded graphics includes the UniqueIDs of both the anchored frame and the image in each case, along with the assigned file name. Also included are the rotation and DPI of each image.

For example, exporting a single embedded graphic from FrameMaker file FigsTbls.fm produces a file named Figs001.gif, and this description in the ASCII DCL output:

((layout fr_def 1)

(text hyper_tok loc = 999590)

(layout anchored 20 15)

(layout frame pos inline)

(layout frame within col_hor)

(layout fr_size page + 226233 257103 407900 270400)

(layout fr_line pattern solid)

(layout fr_line color black)

(layout fr_line thick 100)

(layout fr_pen pattern invisible)

(layout fr_fill pattern invisible)

(layout fr_fill color black)

((graph obj external)

(text hyper_tok loc = 1042546)

(graph line pattern solid)

(graph line color black)

(graph line thick 100)

(graph pen pattern invisible)

(graph fill pattern back)

(graph fill color black)

(layout fr_size frame + 28000 5000 347916 202083)

(layout frame rotation = 0)

(graph ras_dpi in = 96)

(dcl include graphic 'Figs0001.gif')

)

)

You can identify the location in the FrameMaker file using the (text hyper_tok loc = ...) controls. You see the UniqueIDs of both the anchored frame (999590) and the image itself (1042546).

Unless the embedded graphics include callouts or other added elements, you have all the information you need to re-import by reference without loss, using a third-party scripting tool.