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

Free Support Forum - aspose.com

PNG images missing

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 the .png images were missing.
Please verify the same as we are upgrading to the latest.
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 inquiry.

While using the latest version of Aspose.Words i.e. 11.3.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The issue ID is WORDSNET-6380. Your request has been linked to this issue and you will be notified as soon as it is resolved.

Sorry for the inconvenience.

Best Regards,

Hi,


As we are looking for a upgrade, I am bit anxious to know what is the status of the this issue!

Thanks and Regards,
Daniel

Hi Daniel,


Thanks for your inquiry. Unfortunately, your issue is not resolved yet. This issue is pending for analysis and is in the queue. We will inform you as soon as this issue is resolved.

Best Regards,

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


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