image-processing

Solid

Process images for web development — resize, crop, trim whitespace, convert formats (PNG/WebP/JPG), optimise file size, generate thumbnails, create OG card images. Uses Pillow (Python) — no ImageMagick needed. Trigger with 'resize image', 'convert to webp', 'trim logo', 'optimise images', 'make thumbnail', 'create OG image', 'crop whitespace', 'process image', or 'image too large'.

Web & Frontend 851 stars 86 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
98
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Image Processing Use `img-process` (shipped in `bin/`) for common operations. For complex or custom workflows, generate a Pillow script adapted to the user's environment. ## Quick Reference — img-process CLI ```bash img-process resize hero.png --width 1920 img-process convert logo.png --format webp img-process trim logo-raw.jpg -o logo-clean.png --padding 10 img-process thumbnail photo.jpg --size 200 img-process optimise hero.jpg --quality 85 --max-width 1920 img-process og-card -o og.png --title "My App" --subtitle "Built for speed" img-process batch ./images --action convert --format webp -o ./optimised ``` **Use `img-process` when**: the operation is standard (resize, convert, trim, thumbnail, optimise, OG card, batch). This is faster and avoids generating a script each time. **Generate a custom script when**: the operation needs logic `img-process` doesn't cover (compositing multiple images, watermarks, complex text layouts, conditional processing). ## Prerequisites Pillow is required for both `img-process` and custom scripts: ```bash pip install Pillow ``` If Pillow is unavailable, use alternatives: | Alternative | Platform | Install | Best for | |-------------|----------|---------|----------| | `sips` | macOS (built-in) | None | Resize, convert (no trim/OG) | | `sharp` | Node.js | `npm install sharp` | Full feature set, high performance | | `ffmpeg` | Cross-platform | `brew install ffmpeg` | Resize, convert | ## Output Format Guide | Use case | Format | Wh...

Details

Author
jezweb
Repository
jezweb/claude-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

batch-image-pipeline

Writes batch image and video processing scripts (Pillow, ImageMagick, ffmpeg) for asset pipelines — generate size variants, format conversions, colorspace transforms, watermarks, optimization. Use when one design output needs to become 40 deliverables, or when an asset library needs cleanup.

3 Updated today
hotak92
Data & Documents Listed

image-processing

Process images in TypeScript/JavaScript using Bun's built-in Bun.Image API — resize, crop, rotate, flip, compress, convert formats (JPEG/PNG/WebP/HEIC/AVIF), generate blurry placeholders (LQIP/ThumbHash), and read metadata. Use when the user mentions image processing, resizing, cropping, downsizing, compressing, thumbnails, converting image formats, WebP/AVIF/HEIC conversion, image optimization, placeholder/LQIP/blur-up, EXIF/orientation, palette/indexed PNG, stripping metadata, or working with images from S3, file uploads, or clipboards in a Bun project. Also trigger on "make this image smaller", "thumbnail this", "convert to webp", "generate a blur placeholder", or any chained image pipeline task. Replaces sharp on Bun.

0 Updated today
magnusrodseth
AI & Automation Listed

image-utils

Classic image manipulation with Python Pillow - resize, crop, composite, format conversion, watermarks, brightness/contrast adjustments, and web optimization. Use this skill when post-processing AI-generated images, preparing images for web delivery, batch processing image directories, creating responsive image variants, or performing any deterministic pixel-level image operation. Works standalone or alongside bria-ai for post-processing generated images.

59 Updated yesterday
Bria-AI