Ppt转视频

支持以下功能吗?
1、ppt转视频或者ptt每页转视频
2、ptt每页动画生成一张图片

@jianpingzhu

1、ppt转视频或者ptt每页转视频

请查看我们的文档:Convert PowerPoint to Video|Aspose.Slides Documentation

2、ptt每页动画生成一张图片

请再次检查我们的文档:Rendering Shapes on Slide as Images|Aspose.Slides Documentation

2、ptt每页动画生成一张图片

请再次检查我们的文档:Rendering Shapes on Slide as Images|Aspose.Slides Documentation

java 中是否有。

In this example we will traverse through each shape inside every slide of presentation and see if there is any image added in slide shape. If the image will be found for any shape, we will extract that and will save it in file.

这段话没理解

@jianpingzhu
对困惑感到抱歉。不幸的是,我们的 Java 文档中没有可用的特定代码示例。但是,您可以使用以下代码片段来实现您想要的结果:

Presentation pres = new Presentation("C:\\Temp\\slides\\input.pptx");
com.aspose.slides.Slide slide = (com.aspose.slides.Slide)pres.getSlides().get_Item(0);

var shape = slide.getShapes().get_Item(5);
var img = shape.getThumbnail();

File outputfile = new File("C:\\Temp\\slides\\img.png");
ImageIO.write(img, "png", outputfile);

这段话没理解

该文本描述了下面代码的作用,但提供的代码示例不会产生您想要的结果。它仅从形状内部提取图像。