Issue : Recently we had file size issue while modifying the RTF document in BI publisher.
Resolution : Microsoft Support provide the solution for the same on following URL :
https://support.microsoft.com/en-us/help/224663/document-file-size-increases-with-emf--png--gif--or-jpeg-graphics-in-w
Resolution : Microsoft Support provide the solution for the same on following URL :
https://support.microsoft.com/en-us/help/224663/document-file-size-increases-with-emf--png--gif--or-jpeg-graphics-in-w
his article is a consolidation of the following previously available article 262464: WD97: Document File Size Increases with EMF, PNG, GIF, or JPEG Graphics
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
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).
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).
Cause
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. Graphics are saved in the applicable EMF, PNG, GIF, or JPEG format and are also converted to WMF (Windows Metafile) format.
Resolution
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
To prevent Word from saving two copies of the graphic in the document, and to reduce the file size of the document, add the ExportPictureWithMetafile=0 string value to the Microsoft Windows registry.
To have us fix this problem for you, go to the "Fix it for me" section. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.
To fix this problem automatically, click the Fix it button or link. Then click Run in the File Download dialog box, and follow the steps in the Fix it wizard.
Notes
Then, go to the "Did this fix the problem?" section.
To prevent Word from saving two copies of the graphic in the document, and to reduce the file size of the document, add the ExportPictureWithMetafile=0 string value to the Microsoft Windows registry.
To have us fix this problem for you, go to the "Fix it for me" section. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.
Fix it for me
To fix this problem automatically, click the Fix it button or link. Then click Run in the File Download dialog box, and follow the steps in the Fix it wizard.
Notes
- This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
- If you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.
Then, go to the "Did this fix the problem?" section.
Let me fix it myself
To do this, follow these steps:- Quit Word.
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click to select one of the following registry keys, depending on your version of Word:
- For Microsoft Office Word 2007, locate and then click HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Options
- For Microsoft Office Word 2003, locate and then click HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options.
- For Microsoft Word 2002, locate and then click HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Options.
- For Word 2000, locate and then click HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options.
- For Word 97, locate and then click HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Word\Options
- After you select the key that is specified in step 3, point to New on the Edit menu, and then click String.
- Type ExportPictureWithMetafile, and then press ENTER.
- Right-click ExportPictureWithMetafile, and then click Modify.
- In the Value data box, type 0, and then click OK.
- On the File menu, click Exit to quit Registry Editor.