Word to Pdf Conversion - How to render the images in its best quality

Hi,

I am trying to convert a word document containing images using the following save options to retain image quality. Please suggest if anything is missed out in order to retain the source image quality after pdf conversion.

saveOptions.setJpegQuality(100);
(PdfImageCompression.JPEG); – IS AUTO preferred or JPEG
saveOptions.setUseHighQualityRendering(true);

Hi Manohar,


Thanks for your inquiry. When doing a normal conversion (without specifying PdfSaveOptions), 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.

Best regards,