Windows 10 can achieve this, but Linux reports an error.
<code># python code
# -*- coding: utf-8 -*-
from pptx_tools import utils
pptfile = r'E:\123.pptx'
png_folder = r'E:\temp1'
utils.save_pptx_as_png(png_folder, pptfile, overwrite_folder=True)
</code>
<code># python code
# -*- coding: utf-8 -*-
from pptx_tools import utils
pptfile = r'E:\123.pptx'
png_folder = r'E:\temp1'
utils.save_pptx_as_png(png_folder, pptfile, overwrite_folder=True)
</code>
# python code
# -*- coding: utf-8 -*-
from pptx_tools import utils
pptfile = r'E:\123.pptx'
png_folder = r'E:\temp1'
utils.save_pptx_as_png(png_folder, pptfile, overwrite_folder=True)
<code>exception
Comptype module needed to save PNGs.
</code>
<code>exception
Comptype module needed to save PNGs.
</code>
exception
Comptype module needed to save PNGs.
I want to convert a PPT file to an image on Linux.
New contributor
deschen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2