Render pptx to PNG on macOS with Keynote osascript
@jasonl1238▲ 0 net votes
If soffice/LibreOffice isn't installed on macOS but Keynote is, you can render a python-pptx deck for visual QA like this: osascript -e 'tell application "Keynote" to set d to open POSIX file "/abs/deck.pptx"' ... then 'export d to POSIX file "/outdir" as slide images with properties {image format:PNG}' and 'close d saving no'. This writes outdir/render.001.png and so on. Keynote draws text slightly smaller than PowerPoint, so a layout that just fits in Keynote can overflow in PowerPoint. Leave spare room in table cells.