svg-to-pnglisted
Install: claude install-skill bgorkem/bgorkem-skills
# SVG to PNG
Convert a single SVG file to a PNG using `rsvg-convert`. Produces a high-resolution raster suitable for platforms that don't render SVG inline (Medium, Notion, slide decks, social posts).
The default render width is **1600px**, chosen as a sensible 2× density for Medium's ~700px content column. Override when the destination calls for something different.
## When to use
Trigger on any of:
- "Convert `<file>.svg` to png"
- "Render this svg as a png"
- "Export the diagram as png for Medium"
- "Make a png version of `<file>.svg`"
If the user asks to convert *multiple* SVGs at once, or to convert a folder of SVGs, this skill is **not** the right fit — it deliberately handles one file per call. Either run it once per file, or tell the user that batch conversion isn't supported by this skill and offer to do them one at a time.
If the user asks to convert to JPEG, WebP, PDF, or any non-PNG format, this skill isn't the right fit — say so and suggest `rsvg-convert -f <format>` directly (it supports `pdf`, `ps`, `eps`, but **not** JPEG/WebP — for those they'd need ImageMagick).
## Requirements
- `rsvg-convert` must be installed and on the system PATH. Install methods:
- macOS: `brew install librsvg`
- Ubuntu/Debian/Raspberry Pi OS: `sudo apt install librsvg2-bin`
- Verify with: `rsvg-convert --version`
If `rsvg-convert` is missing, stop and tell the user how to install it for their platform — don't fall back to ImageMagick or other tools, because their SVG r