Huge RTF Report File with State Diagrams
Workaround 2: suppress duplication of graphics by Word
In Windows, adapt your registry manually or install a registry fix provided by Microsoft, as described in http://support.microsoft.com/kb/224663
This functionality is by design in Microsoft Word. If an EMF, a PNG, a GIF, or a JPEG graphic is inserted into a Word document, when the document is saved, two copies of the graphic are saved in the document:
- the original graphic (in EMF, PNG, GIF, or JPEG format) and
- a copy in the WMF (Windows Metafile) format.
The resulting RTF file may be bigger by a factor of 10 or even more.
A Windows registry setting controls whether Word actually adds the WMF graphics copy. If you turn this off, some other applications (like Microsoft WordPad) will fail to display the images in the generated RTF file.
For details, see http://support.microsoft.com/kb/224663