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

Free Support Forum - aspose.com

PNG images came in blurred

Hi,


I tried Aspose.Words for java 11.3.0.
I tried converting the attached word file(.docx fromat) to a HTML.
I noticed that one of the .png images was blurred(first image).It was nice in the version that we are using.
Please verify the same as we are upgrading to the latest version.
The original docx and the snapshot are attached. I used the below code

public static void main(String[] args){
String srcDir = “D:\Aspose_Latest\”;
String destDir = “D:\Aspose_Latest\Aspose_Output\”;
System.out.println(“Enter the file along with extension to be converted”);
String fileName="";
InputStreamReader name = new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(name);
try {
fileName = in.readLine();
Document doc = new Document(srcDir + fileName);
HtmlSaveOptions saveOptions = new HtmlSaveOptions();
saveOptions.setAllowNegativeLeftIndent(true);
saveOptions.setExportXhtmlTransitional(true);
saveOptions.setExportDocumentProperties(false);
saveOptions.setScaleImageToShapeSize(true);
saveOptions.setCssStyleSheetType(CssStyleSheetType.INLINE);
saveOptions.setExportMetafileAsRaster(false);
saveOptions.setExportHeadersFootersMode(ExportHeadersFootersMode.PER_SECTION);
saveOptions.setExportTextInputFormFieldAsText(true);
saveOptions.setPrettyFormat(true);
doc.setShadeFormData(false);
doc.save(destDir + fileName+ “.html”, saveOptions);
System.out.println(“Conversion Successfull”);
} catch (Exception e) {
e.printStackTrace();
}
}

Hi Daniel,

Thanks for your query. This is a known issue and we had already logged this issue as WORDSJAVA-507 in our issue tracking system to resolve it. You will be updated via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi,


As we are looking for a upgrade, I am anxious about the status of this issue.

Thanks and Regards,
Daniel.
Hi Daniel,

Thanks for your query and sorry for the delayed response.

I have verified the status of this issue (WORDSJAVA-507) from our issue tracking system and regret to share with you that this issue is still unresolved. I have requested the development team to share the ETA. As soon as any information is shared by them, I will be more than happy to share that with you.

We apologize for your inconvenience.

Hi Daniel,

Thanks for your patience.

The responsible developer has shared the output image file. Please see the attached image and let us know if you are satisfy with the result of output. After your feedback, we will include this fix in next version of Aspose.Words.

Thank you and this looks better.

Hi Daniel,

Thanks for your feedback. The fix of your issue will be included in the August release of Aspose.Words (v13.8.0) which is planned to be released by the end of August 2013. We will inform you via this forum thread as soon as August 2013 release is published.


Thanks for your patience.

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


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