We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose Words save as PDF is missing an image

Hello-


I am trying to save the attached Word document as a PDF via Aspose Words… For some reason, the second image is replaced by a big X image. Can you tell me why this is happening?

Thanks!

Hi Justin,


Thanks for your inquiry. While using the latest version of Aspose.Words i.e. 15.10.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-12702. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

Hi Justin,


Thanks for being patient.

Regarding WORDSNET-12702, our product team has completed the work on your issue and has come to a conclusion that they won’t be able to implement the fix to your issue. Your issue (WORDSNET-12702) has been closed with ‘Won’t Fix’ resolution.

The problem occurs because the source DML image is stored in tiff format. The GDI+ can’t load the source image. You can unzip file from the original .docx and try to load it to bitmap and get exception:

System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(MyDir + “image2.tif”);

<o:p></o:p>


As a workaround you can re-save document using MS Word. Then it will be rendered correctly by Aspose.Words.

Best regards,