Ppt转换为Jpeg背景图颜色变了

背景图的文字颜色由深蓝变成了草绿
office.zip (2.8 MB)
代码为
Presentation pres = new Presentation(sourceFileName);
for ( int i = 0; i < pres.getSlides().size(); i++){

// access the first slide from the collection

ISlide slide = pres.getSlides().get_Item(i);

// create a full scale image of the slide

BufferedImage image = slide.getThumbnail(2f, 2f);

try {

// save the image in jpg format

ImageIO. write (image, “jpg”, new File(path +"/"+i+".jpg"));

} catch (IOException e) {

LOG .error(e.getLocalizedMessage(),e);

}

}

@wangwenyou,

您是否可以尝试使用Aspose.Slides最新版本19.2,如果仍有问题,请与我们分享反馈。

谢谢!已使用Aspose.Slides 19.2验证,问题存在

@wangwenyou,

我使用Aspose.Slides 19.2处理了您共享的源文件,并且能够观察到问题。已在我们的问题跟踪系统中创建了ID为SLIDESJAVA-37606 的故障单,以进一步调查和解决该问题。此主题已与问题链接,以便在修复问题后自动通知您。

The issues you have found earlier (filed as SLIDESJAVA-37606) have been fixed in this update.