Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ghost opened this issue Dec 22, 2020 · 1 comment · May be fixed by #20
Closed

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

ghost opened this issue Dec 22, 2020 · 1 comment · May be fixed by #20

Comments

@ghost
Copy link

ghost commented Dec 22, 2020

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
Copy link
Author

ghost commented Dec 22, 2020

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.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants