DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to export a diagram as SVG, PNG, GIF or MP4 for slides, docs or posts with See Code

Pick the export format that matches where the diagram will be used, from a deck to a README to a short animated clip.

Short answer: Open the finished diagram HTML file in a browser; then open the Export menu in the diagram and choose PNG, JPEG, SVG, GIF or MP4; For slides or PDF, pick SVG or a high-resolution PNG. All steps.

Who it is forAn engineer or product lead who must place one diagram in a slide deck, a README, a docs site or a social post.

The problemA diagram that works in one place may be the wrong format in another, and exporting from several tools is slow.

The outcomeA diagram file in the format that fits the destination, such as SVG for a docs site or PNG for slides, and a GIF or MP4 for motion.

What you need first

  • A coding agent that supports Agent Skills, such as Claude Code, Cursor, Codex or OpenCode
  • Node.js, needed for the command-line SVG export
  • Chrome or Edge, needed only for command-line PNG, GIF or MP4 export

Steps

  1. Open the finished diagram HTML file in a browser
  2. Open the Export menu in the diagram and choose PNG, JPEG, SVG, GIF or MP4
  3. For slides or PDF, pick SVG or a high-resolution PNG
  4. For a README or docs site, pick SVG, and GIF if you want motion
  5. Ask your agent to remove the See Code mark if you do not want it on the final image

Prompt for your agent

Use the SeeCode skill from the Aryanutkarsh/SeeCode repo to export <path to diagram> as <format for the destination>. Expected output: one file in that format sized for the destination. Verify that the file opens and that its smallest labels are readable at the size you will use.

Caveat. Command-line PNG, GIF and MP4 export needs Chrome or Edge, while the in-browser Export menu needs nothing installed.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Aryanutkarsh/SeeCode and "Export a diagram as SVG, PNG, GIF or MP4 for slides, docs or posts"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer