diff --git a/scripts/PDF_to_PPT_Converter/PDF_to_PPT.py b/scripts/PDF_to_PPT_Converter/PDF_to_PPT.py new file mode 100644 index 0000000..00434f9 --- /dev/null +++ b/scripts/PDF_to_PPT_Converter/PDF_to_PPT.py @@ -0,0 +1,7 @@ +import aspose.slides as slides +import aspose.pydrawing as drawing + +with slides.Presentation() as presentation: # Create presentation + presentation.slides.remove_at(0) # this removes default slide from presentaion + presentation.slides.add_from_pdf("path") # here path denotes the destination of the file you want to convert + presentation.save("path", slides.export.SaveFormat.PPT) # here path denotes the destination of the converted file / the path where you want to save the converted PDF file \ No newline at end of file diff --git a/scripts/PDF_to_PPT_Converter/README.md b/scripts/PDF_to_PPT_Converter/README.md new file mode 100644 index 0000000..090e4ac --- /dev/null +++ b/scripts/PDF_to_PPT_Converter/README.md @@ -0,0 +1,17 @@ +#