
Image Manipulation Image Magick
Resize, convert, and batch-process image assets for apps, docs, and marketing without hand-rolling ImageMagick commands.
Overview
Image Manipulation ImageMagick is an agent skill for the Build phase that runs documented ImageMagick CLI workflows for resize, format conversion, metadata, thumbnails, and batch image jobs.
Install
npx skills add https://github.com/github/awesome-copilot --skill image-manipulation-image-magickWhat is this skill?
- Reads dimensions and metadata (format, color space) from single images
- Resizes one image or batches many while preserving aspect ratio
- Creates thumbnails and wallpaper sizes from documented recipes
- Cross-platform examples for PowerShell (Windows) and Bash (Linux/macOS)
- Requires ImageMagick available as `magick` on PATH (with Windows path fallback)
- Cross-platform examples for PowerShell and Bash
- Core capability groups: image information, resizing, and format-oriented processing
Adoption & trust: 9.1k installs on skills.sh; 34.6k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You need consistent image resizing or conversion commands across Windows and Unix, and ad-hoc agent answers keep breaking on missing `magick` or wrong flags.
Who is it for?
Solo builders batching thumbnails, converting screenshots to WebP or PNG, or sizing wallpapers after ImageMagick is already installed.
Skip if: Teams that need AI image generation, vector design in Figma, or pipelines where ImageMagick cannot be installed on the agent host.
When should I use this skill?
Working with images, creating thumbnails, resizing wallpapers, or performing batch image operations with ImageMagick on PATH.
What do I get? / Deliverables
Your agent outputs cross-platform ImageMagick commands you can run to transform assets with predictable dimensions, formats, and batch behavior.
- Runnable `magick` commands for resize, convert, or metadata inspection
- Batch processing command sequences for a folder of images
Recommended Skills
Journey fit
Image pipelines are most often invoked while assembling product UI assets, thumbnails, and wallpapers during active product build. Frontend build work routinely needs dimensioned assets, format conversion, and thumbnails for components and store listings.
How it compares
Use this CLI integration skill instead of asking the model to invent one-off `magick` syntax from memory.
Common Questions / FAQ
Who is image-manipulation-image-magick for?
It is for solo and indie builders (and small teams) shipping web or content products who already use ImageMagick and want their coding agent to emit correct resize, convert, and batch commands.
When should I use image-manipulation-image-magick?
Use it during Build when you are preparing UI assets, thumbnails, or wallpapers; it also fits pre-launch asset prep when you must verify dimensions and convert formats before upload.
Is image-manipulation-image-magick safe to install?
Review the Security Audits panel on this Prism page before installing; the skill drives local shell commands and filesystem access via ImageMagick, so treat untrusted prompts and paths carefully.
SKILL.md
READMESKILL.md - Image Manipulation Image Magick
# Image Manipulation with ImageMagick This skill enables image processing and manipulation tasks using ImageMagick across Windows, Linux, and macOS systems. ## When to Use This Skill Use this skill when you need to: - Resize images (single or batch) - Get image dimensions and metadata - Convert between image formats - Create thumbnails - Process wallpapers for different screen sizes - Batch process multiple images with specific criteria ## Prerequisites - ImageMagick installed on the system - **Windows**: PowerShell with ImageMagick available as `magick` (or at `C:\Program Files\ImageMagick-*\magick.exe`) - **Linux/macOS**: Bash with ImageMagick installed via package manager (`apt`, `brew`, etc.) ## Core Capabilities ### 1. Image Information - Get image dimensions (width x height) - Retrieve detailed metadata (format, color space, etc.) - Identify image format ### 2. Image Resizing - Resize single images - Batch resize multiple images - Create thumbnails with specific dimensions - Maintain aspect ratios ### 3. Batch Processing - Process images based on dimensions - Filter and process specific file types - Apply transformations to multiple files ## Usage Examples ### Example 0: Resolve `magick` executable **PowerShell (Windows):** ```powershell # Prefer ImageMagick on PATH $magick = (Get-Command magick -ErrorAction SilentlyContinue)?.Source # Fallback: common install pattern under Program Files if (-not $magick) { $magick = Get-ChildItem "C:\\Program Files\\ImageMagick-*\\magick.exe" -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty FullName } if (-not $magick) { throw "ImageMagick not found. Install it and/or add 'magick' to PATH." } ``` **Bash (Linux/macOS):** ```bash # Check if magick is available on PATH if ! command -v magick &> /dev/null; then echo "ImageMagick not found. Install it using your package manager:" echo " Ubuntu/Debian: sudo apt install imagemagick" echo " macOS: brew install imagemagick" exit 1 fi ``` ### Example 1: Get Image Dimensions **PowerShell (Windows):** ```powershell # For a single image & $magick identify -format "%wx%h" path/to/image.jpg # For multiple images Get-ChildItem "path/to/images/*" | ForEach-Object { $dimensions = & $magick identify -format "%f: %wx%h`n" $_.FullName Write-Host $dimensions } ``` **Bash (Linux/macOS):** ```bash # For a single image magick identify -format "%wx%h" path/to/image.jpg # For multiple images for img in path/to/images/*; do magick identify -format "%f: %wx%h\n" "$img" done ``` ### Example 2: Resize Images **PowerShell (Windows):** ```powershell # Resize a single image & $magick input.jpg -resize 427x240 output.jpg # Batch resize images Get-ChildItem "path/to/images/*" | ForEach-Object { & $magick $_.FullName -resize 427x240 "path/to/output/thumb_$($_.Name)" } ``` **Bash (Linux/macOS):** ```bash # Resize a single image magick input.jpg -resize 427x240 output.jpg # Batch resize images for img in path/to/images/*; do filename=$(basename "$img") magick "$img" -resize 427x240 "path/to/output/thumb_$filename" done ``` ### Example 3: Get Detailed Image Information **PowerShell (Windows):** ```powershell # Get verbose information about an image & $magick identify -verbose path/to/image.jpg ``` **Bash (Linux/macOS):** ```bash # Get verbose information about an image magick identify -verbose path/to/image.jpg ``` ### Example 4: Process Images Based on Dimensions **PowerShell (Windows):** ```powershe