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_size page + 226233 257103 407900 270400)
(layout fr_line pattern solid)
(layout fr_pen pattern invisible)
(layout fr_fill pattern invisible)
(text hyper_tok loc = 1042546)
(layout fr_size frame + 28000 5000 347916 202083)
(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.
> 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