photo-processing
Use when the user wants to resize, crop, convert, optimize, recolor, mask, flood fill, use a Magic Wand-style contiguous color selection, make image backgrounds transparent, create transparent icon assets, split a sprite sheet, calculate icon crop offsets, or generate CSS sprite positions for PNG, JPEG, WebP, AVIF, TIFF, BMP, GIF, or ICO files. Use this skill for image/photo/texture/icon asset editing, including when the user does not name a file format.
- Compatibility
- Requires `uv`; bundled scripts pin Pillow with PEP 723 metadata.
Pinned to revision bec4b860bb09, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/photo-processing/SKILL.md
- skills/photo-processing/scripts/photo.py
- skills/photo-processing/scripts/tool.py
- skills/photo-processing/skill-runtime.json
- skills/photo-processing/tests/test_photo.py
Every link opens the file at its source, pinned to the revision this page describes.