Saving a slide to JPEG or PDF


#1

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-


#2

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.

http://xml.apache.org/batik/


#3

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-


#4

Can you send me this presentation for testing?