python_pptx_interface icon indicating copy to clipboard operation
python_pptx_interface copied to clipboard

Comptype module needed to save PNGs.

Open cx4 opened this issue 1 year ago • 3 comments


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.

cx4 avatar Mar 14 '23 09:03 cx4

Do you use windows?

LinyeLi60 avatar Dec 15 '23 07:12 LinyeLi60

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?

Rajatkhanna801 avatar Apr 13 '24 18:04 Rajatkhanna801

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

natter1 avatar Apr 13 '24 23:04 natter1