We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Pdf file size too large when save as pdf

Hi,


I am using Aspose Word to generate reports in both Word and pdf format in our product. As some of our customers complain, the pdf file is too large compared with the Word version one. (word - 511KB; pdf - 3.8MB). If I open the Word version report and save it as pdf, the save-as pdf is only 1MB. Note: there are some emf files in the report.

Is there any configuration that can resolve this issue?

To recreate the issue:
1. download the attached t1.emf file
2. use InsertImage() to add it to a documentBuilder 50 times in a for loop
3. save document as a docx file and a pdf file respectively

you will see the file size difference.

Hi Owen,


Thanks for your inquiry. We have already answered your query here in this post. Please follow that thread for further proceedings.