We are creating a Word file (using the latest version of Aspose.Words) from HTML and then saving a copy as a .pdf. The HTML includes a single img tag along w/ some lightly formatted text.
Attached is a zip file w/ the word document and pdf generated by Aspose.Words (I stripped sensitive content from them prior to generation.)
Thank you for additional information. Images in your document are PNG images. Aspose.Words does nothing with PNG 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 MS Word use different codecs to display the image. To make sure, you can convert your MS Word document to PDF using MS Word and you will see that the images looks the same in PDFs produced by Aspose.Words and MS Word.
I can use something other than PNG files - I have complete control over my image. Is there anything that can be done to improve this?
Thanks for your request. You can use some vector image, EMF or WMF for example. Vector images will look much better than raster in PDF.
Just ran another test and it seems that Aspose.Words does have some issue saving to PDF.
Thank you for additional information. But I see the exactly opposite picture, i.e. logo looks great in PDF produced by Aspose.Words, but rough in PDF generated by MS Word. Please see the attached screenshot.
I have confirmed that the PDFs I sent look different on different machines (which explains how we see the opposite results.) I now believe it has to do w/ PDF Reader Version and will chase that.
Thank you for additional information. Just for your information. I use Adobe Acrobat Reader 9.4.6 on my side.