How do I export master slide content to .png

Hello, I want to convert slides in an .odp to .png images. Now I

File/Export/Save as type: PNG - Portable Network Graphics (*.png)/Save

, which gives one .png for current slide shown. So I do it for all slides one by one.

However, contents in master slides isn’t exported. So, it is not a full exporting. Thanks!

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-CA (en_CA); UI: en-GB
Calc: threaded

Export your presentation to HTML. Each slide will be transformed into raster graphics.
When doing this you can set some file sizes while generating the resulting outcome.
If necessary rename the bitmaps’ file names and delete the HTML specific files.

It is possible as well to export the presentation into a PDF file and then to export the result into images.
Cheers

1 Like

I prefer HTML as the .png files will be created directly. However, the resolution is limited to 640 × 480 pixels, 800 × 600 pixels, 1024 × 768 pixels or 1920 × 1080 pixels. Thank you!

See: Python LibreOffice Programming: Draw & Impress Chapter 17.6 Exporting a Slide as an Image

Also the accomping Example: Impress Slide to Image

Has simple command line option such as:

python -m start --file "resources/presentation/algs.ppt" --out_fmt "jpeg" --idx 0