将文档转换为 HTML 后 TIF 丢失

@tahir.manzoor 哈喽,我这边也遇到此问题了,文档中存在TIF图片,转换后得html中丢失了,原文件如下1.docx (79.5 KB)

@cuixiong 您能否在此处附上您的输入和输出文档以进行测试? 我们将检查该问题并为您提供更多信息。

@alexey.noskov 我已经上传了文档,另外我附上设置参数得部分代码:

Document doc = null;
try
{
    doc = new Document("1.docx");
    HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
    htmlSaveOptions.setImagesFolder("images/");
    htmlSaveOptions.setImageSavingCallback(new CustomImageSavingCallback());
    htmlSaveOptions.setExportImagesAsBase64(false);
    //htmlSaveOptions.setCssStyleSheetType(CssStyleSheetType.EXTERNAL);
    htmlSaveOptions.setImageResolution(300);
    htmlSaveOptions.setOfficeMathOutputMode(HtmlOfficeMathOutputMode.IMAGE);
    htmlSaveOptions.setUseAntiAliasing(true);
    htmlSaveOptions.setUseHighQualityRendering(true);
    htmlSaveOptions.setEncoding(StandardCharsets.UTF_8);
    htmlSaveOptions.setSaveFormat(com.aspose.words.SaveFormat.HTML);
    htmlSaveOptions.setExportOriginalUrlForLinkedImages(true);
    doc.save("1.html", htmlSaveOptions);
}
catch (Exception e)
{
    e.printStackTrace();
}

@cuixiong 您能在这里附上您的文件进行测试吗? 没有文档就不可能分析问题。

@alexey.noskov 文件参考1.docx
1.docx (79.5 KB)
另外使用aspose版本为22.12

@alexey.noskov 上个帖子已经上传了附件,还需要提供什么吗,您是否能复现TIF丢失得问题呢

@cuixiong
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-26040

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@alexey.noskov 那么预计什么时候可以修复该问题呢

@cuixiong 该问题目前正在等待分析。 在分析完成之前,我们无法为您提供任何估计。
乍一看,出现问题是因为图像是 EQ 字段的一部分。 您可以通过避免将图像包含到 EQ 字段中来解决该问题。