penwyp/claudepreference/image-converter
Claude Code and agent skill by penwyp/claudepreference
- community
Checking that the SKILL.md file is still in the repository.
Convert images between common formats on macOS, especially SVG/PNG/ICO/ICNS/JPEG/WebP/PDF, using installed local tools such as ImageMagick, rsvg-convert, sips, qlmanage, and iconutil. Use when the user asks to convert image files, generate favicon/icon assets, rasterize SVGs, create Windows .ico files, create macOS .icns files, resize during conversion, or inspect available image conversion commands.
Install
npx vskill@latest install penwyp/claudepreference/image-converterSKILL.md
Image Converter
Use this skill for local image format conversion on macOS.
Tool preference
Prefer tools in this order:
rsvg-convertfor SVG to PNG when available. It gives predictable SVG rasterization.magickfor most conversions and for multi-size.ico.sipsfor simple macOS-native PNG/JPEG/TIFF conversions and resizing.iconutilfor.iconsetto.icns.qlmanage -tonly as a fallback preview renderer when SVG/PDF conversion tools fail.
Common macOS tool locations include:
/opt/homebrew/bin/rsvg-convert/opt/homebrew/bin/magick/usr/bin/sips/usr/bin/iconutil/usr/bin/qlmanage
Use command -v at runtime instead of hardcoding paths unless a command lookup fails.
Quick workflow
- Inspect the input:
``bash file input.svg magick identify input.svg ` If magick identify cannot read the file, use file` only and continue with format-specific tools.
- Convert with the bundled script when possible:
``bash skills/image-converter/scripts/convert-image.sh input.svg output.png --size 800 skills/image-converter/scripts/convert-image.sh input.svg output.ico skills/image-converter/scripts/convert-image.sh input.png output.icns ``
- Verify output:
``bash file output.png output.ico magick identify output.png output.ico ``
Format notes
- SVG to PNG: preserve transparency with
rsvg-convertormagick -background none. - SVG/PNG to ICO: create a multi-resolution icon containing
256,128,64,48,32,16. - PNG to ICNS: create an
.iconsetwith 16, 32, 64, 128, 256, 512, and 1024 pixel variants, then runiconutil -c icns. - JPEG output has no alpha channel. If converting transparent input to JPEG, flatten onto white unless the user specifies a background.
- Do not overwrite source files unless the user explicitly asks. Same-stem outputs such as
icon.svg -> icon.pngare fine.
Guardrails
- Never overwrite source files unless the user explicitly asks.
- Never assume a tool is installed — check with
command -vat runtime before using it. - When all conversion tools are missing, report which tools are needed and stop; do not silently fall back to a different output format.
- For ICO/ICNS generation, always verify the output contains the expected sizes before reporting success.
Common commands
SVG to PNG:
SVG/PNG to multi-size ICO:
PNG/JPEG resize:
PNG to ICNS:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/image-converter/SKILL.md
Popularity
- Repository stars
- 141
- Repository forks
- 20
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/penwyp/claudepreference/image-converter)