Bobbie R. answered 6d
Business Honors Graduate with Extensive Computer Coursework
Use LibreOffice in headless mode to convert the .ppt to PDF, then use Poppler to convert each PDF page into a separate image. Both are open source and run on Linux without Microsoft Office or a graphical desktop.
On Ubuntu or Debian:
sudo apt-get install libreoffice-impress poppler-utils
mkdir -p output
# Convert the presentation to PDF, including hidden slides.
libreoffice --headless \
--convert-to 'pdf:impress_pdf_Export:{"ExportHiddenSlides":{"type":"boolean","value":"true"}}' \
--outdir output presentation.ppt
# Render each slide as a PNG at 150 DPI.
pdftoppm -png -r 150 output/presentation.pdf output/slide
This produces numbered images such as slide-1.png, slide-2.png, and so on. For JPEG output, replace -png with -jpeg. The commands can be called from your application using a subprocess. See LibreOffice’s export documentation and the Poppler command manual.
Install the presentation’s fonts on the server for the closest visual match. Some complex PowerPoint elements may render differently in LibreOffice, so exact visual fidelity is not guaranteed.