ashafaei / pdf2pptx

Convert your (Beamer) PDF slides to (Powerpoint) PPTX
MIT License
371 stars 88 forks source link

What if PDF size is not either 4:3 nor 16:9? #12

Closed ghost closed 3 years ago

ghost commented 3 years ago

In this case, how should the shellscript be modified?

PS. Referring this document, I realized I should modify <p:sldSz> on ppt/presentation.xml.

PS 2. Actually seemed not enough....

ghost commented 3 years ago

What I wanted to do was just to make a slide that is consist of only a page, with some UTF-8 letters. Solved by myself, with following procedure:

  1. convert PDF to PNG.
  2. Open LibreOffice Impress and make a slide consist of the image.
  3. Export it to two kinds of PPTX; Office Open XML and PowerPoint 2007-365.
  4. Unzip them.
  5. They are new templates.
  6. Replace ppt/media/image1.png with new one to update.