Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

fix(ppt): preserve WMF assets in PPTX SVG import

hugohe3d709fe305470
diff --git a/skills/ppt-master/scripts/pptx_to_svg/pic_to_svg.py b/skills/ppt-master/scripts/pptx_to_svg/pic_to_svg.py
index ed383231..21e3e2ab 100644
--- a/skills/ppt-master/scripts/pptx_to_svg/pic_to_svg.py
+++ b/skills/ppt-master/scripts/pptx_to_svg/pic_to_svg.py
@@ -185,9 +185,7 @@ def _normalize_office_media(filename: str, img_bytes: bytes) -> tuple[str, bytes
converted = _convert_office_vector_to_png(filename, img_bytes)
if converted is None:
- raise MediaResolutionError(
- f"Unsupported Office vector media {filename}; convert it to PNG/SVG in PowerPoint first"
- )
+ return filename, img_bytes
stem = Path(filename).stem
return f"{stem}_preview.png", converted