Comments (2)
Hi @tbuckworth
The resolution is used to export the slides into images. The PPTX file itself also has a presentation size that needs adjustment.
There’s a flag that allows you to go wide screen. Find the branching logic in the code where that flag is used. That’s where the presentation size is set in the file.
If I remember correctly, the sizes are encoded. Create a new PPTX file with your desired size, then extract it with zip and find the xml that has the size information and copy the new size into the script.
from pdf2pptx.
I was frustrated with this problem too, so I made an alternative pdf2ppt
in Python, which uses vector graphs (EMF generated from SVG). It seems that directly using python-pptx
to create a PPT is easier. I tried to unzip a PPT file myself and got overwhelmed :-)
from pdf2pptx.
Related Issues (9)
- Doesn't work on OSX, need to change sed flag HOT 7
- What if PDF size is not either 4:3 nor 16:9? HOT 1
- Altering ImageMagick policy.xml when installed using Homebrew HOT 2
- Policy.xml problems ImageMagick-7 HOT 1
- No such file or directory HOT 1
- Doesn't work in Ubuntu 18.04 Error with extraction HOT 2
- Conversion error even after policy.xml is changed as per README HOT 1
- Different Aspect Ratio HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf2pptx.