I am considering using Aspose.Slides for Java in a Linux environment.
Is the only way to check the image conversion is by incorporating it into JavaPGM?
Is it possible to confirm the conversion by executing Linux commands?
I am considering using Aspose.Slides for Java in a Linux environment.
Is the only way to check the image conversion is by incorporating it into JavaPGM?
Is it possible to confirm the conversion by executing Linux commands?
Can you please clarify what specific image conversion you are referring to and what Linux commands you are considering for confirmation?
@Professionalize.Discourse
This is about confirming the conversion from pptx or ppt to jpeg.
We would like to confirm that a PowerPoint file placed in a Linux environment can be successfully converted to jpeg by executing the command.
I would like to see if there are any commands that are specific to Aspose products rather than Linux features.
@Yurina_Sakaguchi,
Using Aspose.Slides for Java, you can convert PowerPoint slides to JPEG images as below:
final float imageScale = 2;
var presentation = new Presentation("sample.pptx");
for (var slide : presentation.getSlides()) {
var slideImage = slide.getImage(imageScale, imageScale);
var fileName = String.format("slide_%d.jpg", slide.getSlideNumber());
slideImage.save(fileName, ImageFormat.Jpeg);
}
presentation.dispose();
This will work on Linux systems as well.
System Requirements|Aspose.Slides Documentation
More examples: Convert Slide|Aspose.Slides Documentation