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(pptx_to_svg): decode <a:hslClr> hue with the correct unit scale (#102)
d 🔹ea8b393d6681
diff --git a/skills/ppt-master/scripts/pptx_to_svg/color_resolver.py b/skills/ppt-master/scripts/pptx_to_svg/color_resolver.pyindex 459987b0..dc375035 100644--- a/skills/ppt-master/scripts/pptx_to_svg/color_resolver.py+++ b/skills/ppt-master/scripts/pptx_to_svg/color_resolver.py@@ -215,7 +215,9 @@ def resolve_color(name = color_elem.attrib.get("val", "")base_hex = PRST_COLORS.get(name)elif tag == "hslClr":- h = float(color_elem.attrib.get("hue", "0")) / 60000.0 # 1/60000 deg+ # DrawingML hue is in 1/60000 deg ([0, 21_600_000) maps to [0°, 360°));+ # _hsl_to_hex expects a fraction in [0, 1), so divide by 60000 * 360.+ h = float(color_elem.attrib.get("hue", "0")) / 21_600_000.0s = float(color_elem.attrib.get("sat", "0")) / 100000.0lum = float(color_elem.attrib.get("lum", "0")) / 100000.0base_hex = _hsl_to_hex(h, s, lum)