render_svg_icon
Convert your SVG line art into a PNG icon for PowerPoint slides, with an automated visual review that verifies the rendering is clean and readable before you place it.
Instructions
Render an SVG icon you have written to a PNG, and check it.
Use this when a slide needs an icon: call get_icon_guidance, write the SVG yourself following it, pass it here, and then place the returned icon_id with add_icon_to_slide. PowerPoint cannot embed SVG, which is why the rasterizing happens here rather than in your answer.
The icon is kept on the server, not in DIAL file storage, so the handle is all you need — and add_icon_to_slide is what places it, not add_image_from_dial_url (that tool reads DIAL storage, which is for images your image model generated).
The returned icon has been looked at. You cannot see what you drew, so the vision model is asked whether the render is free of artifacts and still readable at slide size. If "passed" is false, do not place the icon: fix the SVG as the issues say and call this again. An icon_id is returned only for an icon that is fit to use.
svg: the SVG source, self-contained line art — , , , , , . No text elements, no embedded images, no external references; a text label belongs in a textbox on the slide, not in the icon. concept: what the icon depicts ("supply chain", "regulatory approval"). Passed to the reviewer, which is the difference between "this is a clean pictogram" and "this reads as the thing you meant". size: longest side of the PNG in pixels (default 800). An icon is displayed at about an inch, so this is deliberate headroom; there is no reason to raise it. background: the icon's own background. Leave "transparent" — that is the whole advantage over a stock icon, and it is what lets the same icon sit on a white slide and on a brand-coloured panel. A hex colour bakes a solid rectangle in behind it. slide_background: hex colour of the surface the icon will sit on. The review judges legibility and contrast against it, so set it to the panel colour for an icon going on a coloured card. review: set false only to skip the vision check (faster, unverified).
Returns "icon_id" (pass it straight to add_icon_to_slide), the pixel size, and "review" with the verdict and any issues. The handle stays valid for the session, so reuse it wherever the icon repeats instead of rendering the same drawing again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | ||
| size | No | ||
| review | No | ||
| concept | No | ||
| background | No | transparent | |
| slide_background | No | #FFFFFF |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |