Word to JPG conversion: Some spaces are deleted

Noticed that while using the latest Aspose.Words for Java 13.12.0 and converting a word document to JPG, spaces are deleted. Please see the attached pic. The original doc is attached.

Note: There were a couple of other issue originally reported WORDSNET-9216 and WORDSNET-9242 on the same document Interop.docx. These 2 issues have NOT been fixed yet.

Hi Umesh,

Thanks for your inquiry.

ugnaganhalli:

Noticed that while using the latest Aspose.Words for Java 13.12.0 and converting a word document to JPG, spaces are deleted. Please see the attached pic. The original doc is attached.

I have tested the scenario and have not found the shared issue while using latest version of Aspose.Words for Java 13.12.0. I have attached the input (Interop.docx) and output documents with this post for your kind reference.

I have tested this scenario with input file shared for WORDSNET-9216. I am unable to download your file from following link:
https://jira.forge.avaya.com/secure/attachment/345076/Interop.docx

Could you please share your input file for which you are getting this issue? I will investigate the issue and provide you more information.

ugnaganhalli:

Note: There were a couple of other issue originally reported WORDSNET-9216 and WORDSNET-9242 on the same document Interop.docx. These 2 issues have NOT been fixed yet.

Unfortunately, WORDSNET-9216 and WORDSNET-9242 have not resolved yet. I am afraid these issues have now been postponed till a later date due to some other important issues and new features. We will inform you as soon as there are any further developments.

We apologize for your inconvenience.

Thanks for the response. Yes looks like it got fixed in the word JPG conversion part.

However it still has problems with PNG conversion. I just tried it and the problem exists, the converted file is attached.

Thanks

ung

Hi Umesh,

Thanks for your inquiry. I have tested the scenario by using following code example and have not found the shared issue. I have attached the output PNG with this post for your kind reference.

Document doc = new Document(MyDir + "Interop.docx");
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.PNG);
options.setResolution(300);
options.setPageCount(1);
options.setPageIndex(13);
doc.save(MyDir + "Out13.png", options);

Perhaps, you are using an older version of Aspose.Words or using some different document. Please make sure that you are using latest version of Aspose.Words v13.12.0. It would be great if you please share following detail for investigation purposes.

  • Please attach your input Word document.
  • Please

create a standalone/runnable simple application that demonstrates the code you used to generate
your output document

  • What environment are you running on?
  • OS (Windows Version or Linux Version)
  • Java version

As soon as you get these pieces of information to
us we’ll start our investigation into your issue.

Tahir,

The image that you have posted is still not right if you compare it with the original. The contents from the previous page has been pushed into this page. Please note that I do have the same settings as you have posted.

ImageSaveOptions options = new ImageSaveOptions(format);
options.setPageIndex(pageIndex);
options.setPageCount(1);
options.setResolution(300); 

Please let me know if contents of the converted image remains in the same page as the original document or it spills over. Thats the reason for the increase in the number of pages.

Thanks

ung

Hi Umesh,

Thanks for your inquiry.

I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-10135. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-10135) have been fixed in this .NET update and this Java update.


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

The issues you have found earlier (filed as WORDSNET-9216) have been fixed in this .NET update and this Java update.


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

The issues you have found earlier (filed as WORDSNET-9242) have been fixed in this .NET update and this Java update.


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