Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Convert PowerPoint PPT to PPTX in Java
// Instantiate a Presentation object that represents the PPT file
Presentation pres = new Presentation("sample.ppt");
try {
// Save the PPT presentation as PPTX
pres.save("convetred.pptx", SaveFormat.Pptx);
} finally {
if (pres != null) pres.dispose();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment