Images in the PDF file not appearing as expected

Hi Aspose Team,


We are facing a issue in the PDF document with some of the images not appearing correctly. The images are inserted from a DOC file to a DOCX file and then the PDF file is created using the DOCX document.

But some of the images in the PDF file do not appear as expected. It appears correctly in the DOCX document.

Please not that we have tested the issue with the latest versions of Aspose (Word 16.6.0 and PDF 11.7.0). The issue remains the same with the latest versions also.

I have attached the generated documents with the latest versions of Aspose. Also, I have attached the Sample.doc with the images to test.

Regards,
Prabhaker Kr.
Hi Prabhaker,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 16.6.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-13948. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,
Hi Prabhaker,

It is to update you that our product team has completed the analysis of this issue and the root cause has been identified. However, because of complexity, the implementation of the fix of this issue has been postponed.

The issue occurs because Aspose.Words does not imitate a special MS Word behavior when wrapping a page break around a floater.

The problematic image (plane section) is column-relative. The anchor paragraph has a page break after the image anchor. In Aspose.Words layout, the anchor paragraph is shifted right because of wrapping around another floating image (full plane). As the anchor is shifted, the column-relative image is shifted as well.

If the page break is removed or if a character is added before the page break, MS Word starts to wrap the anchor paragraph around the plane image, and shifts the plane section right as well, producing a layout similar to the Aspose.Words output.

So the question is why MS Word does not wrap the page break around the wrapped floater. It seems, it treats the line consisting of a single page break as having a very little height. Moving the plane image up eventually causes MS Word to wrap the page break to the right of the image. This MS Word behavior requires additional investigation.

You may make the plane image not-wrapped as a workaround. We apologize for any inconvenience.

Best regards,

Hi Awais,


Do we have any update on the issue? Is the issue planned to be fixed in the upcoming release?

Regards,
Prabhaker Kr.
Hi Prabhaker,

Thanks for your inquiry. We regret to share with you that there is no further news about this issue and the implementation of this issue has been postponed for now. However, the fix of this problem may definitely come onto the product roadmap in the future. Unfortunately, we cannot currently promise a resolution date. We apologize for your inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-13948) have been fixed in this Aspose.Words for .NET 17.6 update and this Aspose.Words for Java 17.6 update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.