GithubHelp home page GithubHelp logo

Comments (2)

ashafaei avatar ashafaei commented on July 17, 2024

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.

Teddy-van-Jerry avatar Teddy-van-Jerry commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.