Convert indivudal pages of Draw document via command line

Ubuntu 18.04, LibreOffice

I have a Draw document that has multiple pages. I want to convert them from command line to .png files. I use the following command:

libreoffice --draw --convert-to png  my.odg

Only the first page is converted to my.png file. How to specify on the command line to convert a specific page or all pages?

1 Like

I have the same need, hoping to hear a solution. Thanks.