Saving a slide to JPEG or PDF

I just downloaded the powerpoint java library. Are there methods to save individual slides as a JPEG, PNG or PDF? If so, which class? I noticed another post mentioning Presentation.SaveToPDF( ). I don’t see this method in the Java Presentation class?

Thanks for any help.

J-

In Java version you can save slide to SVG file and after that

convert it to any graphics format or pdf with Batik SVG Toolkit.

Apache(tm) Batik SVG Toolkit - a Java-based toolkit for applications or applets that want to use images in the Scalable Vector Graphics (SVG)

Hi Alexey,

Okay, that worked. My PPT Slides have a green background, but after doing the conversion using Batik, the background color is white. (I am converting the svt to jpeg format) using 1.0 lossy.

The title text is correctly colored.

Thanks for any tips,

J-

Can you send me this presentation for testing?