PDF File Size with image When Saving in Aspose.Words

Hi,

I am French, excuse for my english.

I have a merge wih many image png create with infragistics chart ( +100) and my saving file is too big.
i have try to use PdfImageCompression but not work, no change for the result.

How can i solve this probleme ?
Thanks

Patrick

Hi Patrick,
You can use Aspose.Pdf to optimize output PDF file size. Please follow this example https://docs.aspose.com/pdf/net/optimize-pdf/ and feel free to contact us in case you have further comments or questions.
Best Regards,

Hi Patrick,

Thanks for your inquiry. Please use PdfSaveOptions.DownsampleOptions property to specify downsample options. DownsampleOptions class allows to specify down sample options. Please read the members of this class from here:
https://reference.aspose.com/words/net/aspose.words.saving/downsampleoptions/

If you still face problem, please share following detail for investigation purposes.

  • Please attach your input Word document.

  • Please create a standalone/runnable simple application (for example a Console Application Project) that demonstrates the code (Aspose.Words code) you used to generate your output document

  • Please attach the output Pdf file that shows the undesired behavior.

Unfortunately, it is difficult to say what the problem is without the Document(s) and simplified application.We need your Document(s) and simple project to reproduce the problem.As soon as you get these pieces of information to us we’ll start our investigation into your issue.