Ask Your Question

How to convert all PPT pages to jpg?

asked 2018-08-23 11:13:12 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

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 :


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

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



edit retag flag offensive close merge delete


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

lzdong gravatar imagelzdong ( 2018-08-23 12:33:18 +0100 )edit

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

lzdong gravatar imagelzdong ( 2018-08-24 03:27:48 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-08-23 11:30:33 +0100

JBF gravatar image

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

File > Export... > choose html document

edit flag offensive delete link more


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

lzdong gravatar imagelzdong ( 2018-08-23 12:29:34 +0100 )edit

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?

JBF gravatar imageJBF ( 2018-08-23 14:28:24 +0100 )edit

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.

lzdong gravatar imagelzdong ( 2018-08-23 17:54:52 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-08-23 11:13:12 +0100

Seen: 433 times

Last updated: Aug 23 '18