How to convert all PPT pages to jpg?

I am using the following command to convert ppt->jpg

libreoffice --headless --invisible --convert-to jpg file.ppt --outdir /tmp/

But the result is only one JPG file (first page), and my PPT is multi page.

How to convert all PPT pages?

version : 5.3.6.1

==================================================================

我使用下面的命令转换PPT → JPG

libreoffice --headless --invisible --convert-to jpg file.ppt --outdir /tmp/

但是结果只有一个JPG文件(第一页),而我的PPT是多页的。

如何转换所有的PPT页面?

I can only use commands to get pictures. My system is Linux CentOS.

What I want is a screenshot of the PPT page, not a picture contained in the PPT.

Export your presentation in html. In the wizard you can choose JPEG as image format, default is PNG.

File > Export… > choose html document

Sorry, my fault. I forgot to say that I must execute under the command line, no interface form, get pictures.

I understand, but as now you know that LO is able to export a presentation in html with a JPEG image for each slide, your problem is to find if you can do the same in command line.

Did you try to replace jpg by html in the command you wrote in your question?

What I need is screenshots of all PPT pages.

Turning to HTML documents is not a priority.

I am trying to install Export As Images extension now.