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

Comptype module needed to save PNGs. #7

Open
cx4 opened this issue Mar 14, 2023 · 4 comments
Open

Comptype module needed to save PNGs. #7

cx4 opened this issue Mar 14, 2023 · 4 comments

Comments

@cx4
Copy link

cx4 commented Mar 14, 2023


from pptx_tools import utils

pptfile = 'test.pptx'
png_folder = './output'
utils.save_pptx_as_png(png_folder, pptfile, overwrite_folder=True)``` 

output:  Comptype module needed to save PNGs.

but any image saved.
@LinyeLi60
Copy link

Do you use windows?

@Rajatkhanna801
Copy link

Hi @cx4
I am facing same issue "Comptype module needed to save PNGs."
And I am using linux (ubuntu 20.4)
Did you find something?

@natter1
Copy link
Owner

natter1 commented Apr 13, 2024

I use windows - basically you need Microsoft Office. Comptype module is used to communicate with it. Not sure if there is a linux alternative.

@Naturean
Copy link

pip install comtypes may be a solution, I use win11.

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

No branches or pull requests

5 participants