I’m working on a Firebase Cloud Function and need to implement functionality to convert slides from a PowerPoint presentation into PNG images using Python. I want the cloud function to accept a PowerPoint file via a POST request, convert each slide into a PNG image, and return these images in a zip file.
Here’s what I’m looking to achieve:
- Accept a PowerPoint file (PPTX) via a POST request.
- Convert each slide of the PowerPoint file into PNG images.
- Package these PNG images into a zip file.
- Return the zip file in the response.
I’m using Firebase Cloud Functions for this project. Any libraries, tools, or examples in Python that could help with converting PowerPoint files to PNG images and zipping them would be greatly appreciated.
Details:
Cloud Provider: Firebase Cloud Functions
Programming Language: Python
Any specific constraints or requirements
Example Code or Libraries:
If you have any suggestions on Python libraries or code snippets that could help with this task, please include those in your response.
Thank you!