Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Patch: OpenClaw allowed media paths docs.
What This Skill Does
Converts SVG files to PNG or JPG using cairosvg and Pillow. Supports custom output dimensions and DPI. Works with OpenClaw's media delivery pipeline to send generated images directly in conversation.
Handles conversion and in-chat delivery in one step without opening a graphics editor or manually uploading the file.
When to use it
- Sending a vector diagram as a PNG in Telegram
- Exporting a map SVG at a fixed pixel width for a report
- Converting design tool output to JPG for document embedding
- Rasterizing diagramming workflow output for quick sharing
- Preparing print-ready raster images from SVG source files
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Convert map.svg to a 1200px wide JPG and send it
- 1Run convert_svg.py with map.svg, -f jpg, --width 1200, output to /tmp/map.jpg
- 2Script rasterizes the SVG using cairosvg at the specified width
- 3Send the generated JPG to the user via the OpenClaw media tool
JPG image delivered to the user in the conversation
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.