How to convert pptx files to jpg or png (for each slide) on linux?

前端 未结 3 1630
一整个雨季
一整个雨季 2020-12-13 16:44

I want to convert a powerpoint presentation to multiple images. I already installed LibreOffice on my server and converting docx to pdf is no problem. pptx to pdf conversion

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-13 17:15

    After Installing unoconv and LibreOffice you can use:

    unoconv --export Quality=100 filename.pptx filename.pdf 
    

    to convert your presentation to a pdf. For further options look here.

    Afterwards you can - as already said above - use:

    convert -density 400 my_filename.pdf -resize 2000x1500 my_filename%d.jpg 
    

    to receive the images.

提交回复
热议问题