Hi, currently one of ours customers report us that the image quality diminishes when the word document is saved to a pdf document. We found this code but in the practice it did not work
Aspose.Words.Document wordDocument = new Aspose.Words.Document(docxMemoryStream);
Aspose.Words.Saving.PdfSaveOptions saveOption = new Aspose.Words.Saving.PdfSaveOptions();
saveOption.JpegQuality = 100;
saveOption.UseHighQualityRendering = true;
wordDocument.Save(saveOption);
Is there a way to save the word document to pdf keeping the quality of the image?
Thanks for your inquiry. Please attach your input Word document and output PDF document showing the undesired behavior here for testing. I will investigate the issue on my side and provide you more information.
Thank you for your response. Here are the documents with the problem. If you zoom to 400% or more the image in page 4 of both documents, you can see that the image loss resolution in the pdf file while the word document has a better resolution.
Thanks for the additional information. Aspose.Words does nothing with images upon converting documents to PDF. So quality must be the same as in input document. I suppose, you see the difference because PDF reader and Microsoft Word use different codecs to display the image. To make sure, you can convert your document to PDF using Microsoft Word 2013 and you will see that the images look the same in PDFs produced by Aspose.Words and Microsoft Word.
If we can help you with anything else, please feel free to ask.