How to convert a specific ppt page to JPG

I am using the following command to convert the PPT file to JPG

soffice --headless --convert-to jpg --outdir “c:/tmp” file1.pptx

The above command always converts the 1st page of ppt to JPG. I am looking for a way to convert the specific page (may be 3rd or 5th or 6th … some thing like that) to JPG. Is there any command line option provided by libreoffice through which I can achieve this ?li

The version of libreoffice I am using is 6.1.4

No, there’s no filter options for jpg AFAIK.

There is an impress slot .uno:GraphicExport / SID_GRAPHIC_EXPORT and a filter draw_jpg_Export , but once more I cannot find any details.
On my level of understanding it’s really difficult to find anything relevant for advanced usage.
There must be documentation usable without sorcery. Am I wrong?
If such a command / filter offered the needed options, a document (Calc supposedly) could be used as a kind of batch processor for tasks of the addressed kind.

If only the documentation knew that it must be!.. but I’m afraid that it woudn’t appear without sorcery :wink:

Well, I won’t raise my arms and spell “Let Documentation Be”.
But all that stuff was basically developed under the regime of professional and commercial suppliers of software. I would assume the staffs of StarDivision / SUN / Oracle knew how to organize the web concerning specification, implementation and documentation of a software project/product. They weren’t just playing children, were they? And they had to provide efficient documentation of the respective current state for those engaged in further development at every time. There also is literature and lecturing on Software Engineering after all for some decades now.
Where did the treasures go?

Mark the slide in the slide overview. Select File>Export .... Choose File Type “jpg”. Put a checkmark next to “Selection”. Click on “Save”.