image-processor

Resize and crop raster and SVG images with ImageMagick and SVGO.

1|Updated Feb 5, 2013
One-click install
npx skills add https://github.com/rmjames/rjames --skill image-processor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-processor
Source: https://github.com/rmjames/rjames/tree/main/.claude/skills/image-processor
Command: npx skills add https://github.com/rmjames/rjames --skill image-processor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates tedious manual image editing tasks by providing batch resizing, cropping, optimization, and format conversion for raster and vector images, including common favicon presets.

Core Features & Use Cases

  • Raster image processing: Crop, resize, convert formats, and optimize PNG/JPG/JPEG/WebP.
  • SVG optimization: Resize and optimize SVGs and adjust viewBox for scalable assets.
  • Batch processing: Apply the same operations to multiple images to speed up asset pipelines.
  • Favicon presets: Generate common favicon sizes from a single source image.

Quick Start

Process 'logo.png' to 256x256 while preserving aspect ratio.

Frequently Asked Questions about image-processor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch resize multiple images to specific dimensions?

Batch resizing applies the same dimension changes across multiple images at once. This Skill automates resizing PNG, JPG, JPEG, and WebP files to your specified dimensions while preserving aspect ratio, eliminating manual editing for each file in design and deployment pipelines.

Can I generate favicon sets from a single image?

Yes. This Skill generates common favicon sizes and formats from one source image using preset dimensions for web, mobile, and desktop platforms, then converts and optimizes them automatically.

Does this work with SVG images?

SVG processing is supported. The Skill resizes and optimizes SVGs by adjusting viewBox and applying SVGO optimization, making vector assets scalable across different contexts without quality loss.

How do I convert images between formats like PNG to WebP?

Format conversion happens during resizing. Specify your target format—PNG, JPG, JPEG, or WebP—and the Skill converts and optimizes in a single operation, useful for web delivery and storage efficiency.

What image processors does this Skill require?

ImageMagick is the primary processor for raster images; macOS systems use sips as a fallback. SVGO handles SVG optimization. Both must be available in your environment to process images.

Can I crop images as part of the resizing workflow?

Yes. Cropping and resizing work together in this Skill. Specify crop dimensions and output size, and the Skill applies both operations, reports original and output file sizes, and supports batch processing across multiple assets.