Hello,
We’ve recently noticed some rendering issues of embedded images during conversion from Word to PDF. I’m attaching sample input and output documents. As you can notice in PDF, some lines of embedded image are lost. Our customers started complaing on this, so I would like to ask you for investigation.
There is fragment of code which we use for conversion:
private void Convert( MemoryStream input, MemoryStream output ) { Document document = new Document( input ); PdfSaveOptions options = new PdfSaveOptions() { Compliance = PdfCompliance.Pdf15 }; document.Save( output, options ); }
According to your API docs, by default PdfSaveOptions object should have ImageConversion property set to Auto, and JpegQuality equal to 100. This should give us best quality results during conversion. I’ve found in your documentation that there might occur a little compression if embedded image is not JPEG. Because of this graphic has very thin lines, even slight decrease of quality could result with losing some of them. Are my suspicions correct? If so, can I somehow solve it by changing my code? Any advice is appreciated.
sample files.zip (157.7 KB)
Thanks,
Igor Paszewski