Loading...
Loading...
Create and edit presentation slide decks (`.pptx`) with PptxGenJS, bundled layout helpers, and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding charts/diagrams/visuals, or diagnosing layout issues such as overflow, overlaps, and font substitution.
npx skill4agent add openai/skills slidespython-pptx.pptx.jsassets/pptxgenjs_helpers/scripts/render_slides.py.pptx.pdfscripts/slides_test.pyscripts/create_montage.pyscripts/detect_font.pyscripts/ensure_raster_image.pyreferences/pptxgenjs-helpers.mdLAYOUT_WIDEassets/pptxgenjs_helpers/render_slides.pyslides_test.py.pptx.jsautoFontSizecalcTextBoxfitautoFit•imageSizingCropimageSizingContainlatexToSvgDataUri()codeToRuns()warnIfSlideHasOverlaps(slide, pptx)warnIfSlideElementsOutOfBounds(slide, pptx)ensure_raster_image.py# Render slides to PNGs for review
python3 scripts/render_slides.py deck.pptx --output_dir rendered
# Build a montage for quick scanning
python3 scripts/create_montage.py --input_dir rendered --output_file montage.png
# Check for overflow beyond the original slide canvas
python3 scripts/slides_test.py deck.pptx
# Detect missing or substituted fonts
python3 scripts/detect_font.py deck.pptx --jsonreferences/pptxgenjs-helpers.md