Export plugin for fylr: downloads the objects of a collection as a PowerPoint presentation (PPTX).
The plugin extends the presentation download managers in the webfrontend with a "Powerpoint..." entry, which offers a template (black/white, 16:9 or 4:3) and an image quality.
The export itself runs in two passes through the same export/create_pptx callback in server/presentation_pptx_fylr.py:
- Without a
plugin_action, it hides the exported files and announces the.pptxfile it is going to produce. - Called back with
plugin_action: produce?create_pptx, it downloads the exported images from the export API, builds the deck with python-pptx and writes it to stdout.
Assets with no usable image version are rendered as a placeholder image (placeholders/) captioned with the asset info.
The python3 exec service must have python-pptx, Pillow and requests available.