Suppress duplication of graphics by Word

Costas

Administrator
Staff member
SYMPTOMS

When you save a Microsoft Word document that contains an EMF, PNG, GIF, or JPEG graphic as a different file format (for example, Word 6.0/95 (.doc) or Rich Text Format (.rtf)), the file size of the document may dramatically increase.

For example, a Microsoft Word 2000 document that contains a JPEG graphic that is saved as a Word 2000 document may have a file size of 45,568 bytes (44.5KB). However, when you save this file as Word 6.0/95 (.doc) or as Rich Text Format (.rtf), the file size may grow to 1,289,728 bytes (1.22MB).

--

adapt your registry manually, under

JavaScript:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\Options
ExportPictureWithMetafile=0

Updating fields in an RTF file that contains images lets the file become huge when you save it to Rich Text Format (RTF) or to Word 6.0/95 format (DOC).

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:
1. the original graphic (in EMF, PNG, GIF, or JPEG format) and
2. 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.

ref
https://kb.vector.com/pdf/448
https://stackoverflow.com/a/2088172
 
Top