# Export presentations and PDF pages ```sh python3 tools/exporter.py presentation.pptx --output pdf,images python3 tools/exporter.py document.pdf --output images python3 tools/exporter.py presentation.pptx --output images --dpi 192 -d exports ``` `exporter.py` uses DeckCraft for PPTX exports and PdfCraft for PDF page rendering. It finds `deckcraft-cli` / `pdfcraft-cli` on `PATH`, or temporarily extracts the bundled CLI from the newest matching AppImage in `~/Applications`. You can specify a CLI executable or AppImage with `--deckcraft-cli` / `--pdfcraft-cli`, or the `DECKCRAFT_CLI` / `PDFCRAFT_CLI` environment variables. Output goes to `_export/`: `.pdf` and/or numbered PNGs inside `images/`. Images default to 144 DPI. Existing output requires `--overwrite`, which replaces generated files and removes stale numbered slide/page PNGs. PDF-to-PDF is a successful no-op; other input extensions are errors. Rendering completes in temporary storage before output is copied.