processing-images
БесплатноБез исполняемых скриптовНе проверенImage processing toolkit awareness. Use when: user uploads images for manipulation, requests format conversion, batch processing, compositing, resizing…
от oaustegard★ 425 звёзд на GitHubОб этом скилле
Image Processing Tools
This container has a rich image processing toolkit. Before writing any image code, scan this inventory to pick the best tool for the job — don't default to Pillow for everything.
Tool Selection by Task
Format Conversion & Batch Operations
ImageMagick convert is the default choice. Handles 260+ formats, single command, no code needed.
convert input.png output.webp
convert input.png -quality 85 output.jpg
mogrify -format webp *.png # batch in-place
For animated formats (GIF↔WebP↔APNG, video↔frames), prefer ffmpeg.
Resize, Crop, Thumbnails
ImageMagick for CLI one-liners. Pillow when already in Python pipeline.
convert input.jpg -resize 800x600 output.jpg # fit within box
convert input.jpg -resize 800x600^ -gravity center -extent 800x600 output.jpg # fill+crop
convert input.jpg -thumbnail 200x200^ -gravity center -extent 200x200 thumb.jpg
IM supports 30+ resize filters: -filter Lanczos (sharp downscale), -filter Mitchell (balanced), -filter Point (nearest-neighbor/pixel art).
Compositing & Overlays
ImageMagick composite or convert with -composite. Supports all Porter-Duff modes.
composite -gravity southeast watermark.png photo.jpg output.jpg
convert base.png overlay.png -gravity center -composite result.png
For complex multi-layer work or programmatic positioning, use Pillow (Image.paste, Image.alpha_composite).
Montages, Collages, Contact Sheets
ImageMagick montage — purpose-built for grid layouts.
montage *.jpg -geometry 200x200+5+5 -tile 4x3 sheet.jpg
montage *.png -label '%f' -geometry +4+4 catalog.png
Animated GIFs & Frame Sequences
ImageMagick for simple GIF assembly. ffmpeg for anything involving timing control, video sources, or optimization.
convert -delay 10 -loop 0 frame_*.png animation.gif # IM
ffmpeg -framerate 10 -i frame_%03d.png -vf palettegen palette.png && \
ffmpeg -framerate 10 -i frame_%03d.png -i palette.png -lavfi paletteuse output.gif # optimized
imageio is convenient for frame-sequence GIFs from Python arrays.
Image Analysis & Measurement
identify for quick metadata and stats. OpenCV for structural analysis. scikit-image for scientific measurement.
identify -verbose image.png # full metadata dump
identify -format '%wx%h %[colorspace] %[depth]bit' image.png # targeted
- OpenCV (
cv2): histograms, contour detection, template matching, edge detection, color distribution - scikit-image (
skimage): region properties, morphology, thresholding (Otsu, adaptive), feature detection (SIFT via OpenCV, ORB), SSIM comparison - scipy.ndimage: convolution, interpolation, labeling connected components
Image Comparison & Diffing
ImageMagick compare produces visual diffs directly.
compare image1.png image2.png diff.png
compare -metric RMSE image1.png image2.png null: 2>&1 # numeric similarity
For structural similarity: skimage.metrics.structural_similarity (SSIM).
Color Operations
ImageMagick handles color space conversion, channel manipulation, color quantization.
convert input.jpg -colorspace Gray output.jpg
convert input.png -colors 16 reduced.png # quantize
convert input.jpg -modulate 110,130,100 output.jpg # brightness,saturation,hue
convert input.png -channel R -separate red_channel.png
For programmatic color analysis (dominant colors, palettes): OpenCV k-means on pixel arrays, or Pillow getcolors().
Effects & Filters
ImageMagick has extensive built-in effects:
convert in.png -blur 0x3 out.png # Gaussian blur
convert in.png -sharpen 0x1 out.png
convert in.png -shadow 60x4+2+2 out.png # drop shadow
convert in.png -vignette 0x40 out.png
convert in.png -sketch 0x10+120 out.png
convert in.png -charcoal 2 out.png
convert in.png -edge 1 out.png
convert in.png -emboss 1 out.png
convert in.png \( +clone -background black -shadow 60x4+0+0 \) +swap -background none -layers merge +repage rounded.png
For advanced/custom convolution kernels: scipy.ndimage or OpenCV.
Metadata & EXIF
identify -verbose reads all metadata. Pillow reads/writes EXIF programmatically.
identify -verbose image.jpg | grep -A20 'Properties:'
from PIL import Image
img = Image.open("photo.jpg")
exif = img.getexif() # dict-like access to EXIF tags
Note: no exiftool in this container. Use identify or Pillow for metadata tasks.
Icons, Favicons, App Icons
ImageMagick generates multi-size ICO files directly.
convert icon.png -define icon:auto-resize=256,128,64,48,32,16 favicon.ico
For icon sets (iOS/Android), batch-resize with convert or mogrify to each required size.
PDF & EPS (limited)
ImageMagick can read/write PDF and EPS but Ghostscript is not installed — complex PDF rasterization may fail. For PDF-to-image, prefer Pillow (for simple c
Установить processing-images в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл processing-images?
Image processing toolkit awareness. Use when: user uploads images for manipulation, requests format conversion, batch processing, compositing, resizing, optimization, analysis, effects, metadata inspection, montages, animated GIFs, color correction, or any image-related task. Also use when working with screenshots, photos, diagrams, icons, or visual assets. Triggers on 'resize', 'crop', 'convert', 'compress', 'optimize', 'thumbnail', 'watermark', 'montage', 'collage', 'gif', 'sprite sheet', 'color space', 'metadata', 'EXIF', 'compare images', 'diff', 'overlay', 'composite', 'batch process', 'image analysis', 'histogram', 'blur', 'sharpen', 'rotate', 'flip', 'border', 'shadow', 'round corners', 'favicon', 'icon set'.
Как установить скилл processing-images?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл processing-images запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic