Free Support Forum -

Emf image size issue



we are using a linq reporting template to insert emf image (using image tag in the template, the object bound contains a System.Drawing.Image property).
if we save our emf into files (basically save the image property into a file), their size is about 50kbytes. when we use aspose to generate the word document, and then unzip the word file, the emf files are 200 kBytes.

As we are trying to insert 1000 images the size of the word document is really too big. This is a blocking issue for us.
Thanks for your help



Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output Word file that shows the undesired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.


It appears it is not an aspose issue, we generate the emf file ourself so the problem is in our side.



Thanks for your feedback. It is nice to hear from you that your problem has been solved. Please let us know if you have any more queries.


sorry actually there is an aspose issue. (325.1 KB)

in the sample i have a emf file of 122KB, when i generate the word and unzip it, the emf file is 244KB. how do you save the emf file ?
the emf file had been saved with meta = new Metafile(ms, bufferGraphics.GetHdc(),



Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-18024. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.