Reduce PDF File Size after Converting Word DOCX Document to PDF using C# .NET | Control Optimize PDF Size

When using ‘, SaveFormat.PDF)’ to convert word to pdf, the file size is increased by several hundred times. Is there any way to control the size of the generated pdf


Have you tried the latest (20.6) version of Aspose.Words for Java on your end? In case the problem still remains, please ZIP and upload your input Word document, Aspose.Words generated PDF file showing and piece of source code here for testing. We will then investigate the issue on our end and provide you more information.

P.S: You can also upload the ZIP file to Dropbox and share the download link here for testing.

@awais.hafeez (26.6 KB)
The a.docx in the attached is the original word file. Because the generated pdf is large, it cannot be uploaded. Only two file size screenshots。image.png (5.8 KB)
Word to pdf uses the 20.5 version, please help to see the reason


We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-20613. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-20613) have been fixed in this Aspose.Words for .NET 22.9 update also available on NuGet.