IM

CLI utility for performing common image editing operations.

Install

mkdir -p .claude/skills/image-editing && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5152" && unzip -o skill.zip -d .claude/skills/image-editing && rm skill.zip

Installs to .claude/skills/image-editing

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Comprehensive command-line tools for modifying and manipulating images, such as resize, blur, crop, flip, and many more.
120 charsno explicit “when” trigger
Beginner

Key capabilities

  • Resize images individually or in batches
  • Apply blur effects using Gaussian distribution
  • Adjust image brightness and contrast
  • Convert image file formats
  • Orient images based on EXIF data

How it works

The skill utilizes the ImageMagick convert command to perform pixel-level manipulations and format transformations on image files. It applies specified operators like resize or blur to the input file to generate a modified output.

Inputs & outputs

You give it
Source image file path
You get back
Modified image file

When to use image-editing

  • Resize profile images
  • Crop assets for UI
  • Apply blur effects for privacy
  • Flip images for layout consistency

About this skill

Command-line Tools: Convert

Overview

This guide covers essential image processing operations using ImageMagick, a collection of command-line tools that can be applied to modify and manipulate images. With this toolkit, you can edit images in batch on Linux command-line.

Image Operations

Use the convert command to resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.

Example Usage We list a few examples of the command here to illustrate its usefulness and ease of use. To get started, let's reduce the size of our rose:

convert -resize 50% rose.jpg

You can resize all your JPEG images in a folder to a maximum dimension of 256x256 with this command:

convert -resize 256x256 *.jpg

Finally, we convert all our PNG images in a folder to the JPEG format:

convert -format jpg *.png

Here image files 1.png, 2.png, etc., are left untouched and files 1.jpg, 2.jpg, etc., are created. They are copies of their respective PNG images except are stored in the JPEG image format.

Useful image operations and their corresponding command:

-auto-orient Adjusts an image so that its orientation is suitable for viewing (i.e. top-left orientation). This operator reads and resets the EXIF image profile setting 'Orientation' and then performs the appropriate 90 degree rotation on the image to orient the image, for correct viewing.

-background <color> Set the background color. The color is specified using the format described under the -fill option. The default background color (if none is specified or found in the image) is white.

-blend <geometry> Blend an image into another by the given absolute value or percent. Blend will average the images together ('plus') according to the percentages given and each pixels transparency. If only a single percentage value is given it sets the weight of the composite or 'source' image, while the background image is weighted by the exact opposite amount. That is a -blend 30% merges 30% of the 'source' image with 70% of the 'destination' image. Thus it is equivalent to -blend 30x70%.

-blue-shift <factor> Simulate a scene at nighttime in the moonlight. Start with a factor of 1.5

-blur radius -blur radius{xsigma} Reduce image noise and reduce detail levels. Convolve the image with a Gaussian or normal distribution using the given Sigma value. The formula is: $$ G(u, v) = \frac{1}{2\pi\sigma^2}e^{-(u^2+v^2)/(2\sigma^2)} $$ The sigma value is the important argument, and determines the actual amount of blurring that will take place.

-bordercolor color Set the border color. The color is specified using the format described under the -fill option. The default border color is #DFDFDF, this shade of gray.

-border <value%> Surround the image with a border of color. value % of width is added to left/right and value % of height is added to top/bottom

-brightness-contrast brightness -brightness-contrast brightness{xcontrast}{%} Adjust the brightness and/or contrast of the image. Brightness and Contrast values apply changes to the input image. They are not absolute settings. A brightness or contrast value of zero means no change. The range of values is -100 to +100 on each. Positive values increase the brightness or contrast and negative values decrease the brightness or contrast. To control only contrast, set the brightness=0. To control only brightness, set contrast=0 or just leave it off. You may also use -channel to control which channels to apply the brightness and/or contrast change. The default is to apply the same transformation to all channels.

-channel type Specify those image color channels to which subsequent operators are limited. Choose from: Red, Green, Blue, Alpha, Gray, Cyan, Magenta, Yellow, Black, Opacity, Index, RGB, RGBA, CMYK, or CMYKA.

-contrast Enhance or reduce the image contrast.

-colorspace value Set the image colorspace.

Dependencies

Required dependencies (install if not available):

  • convert: Run sudo apt install imagemagick to install. After that, you can use convert command.

When not to use it

  • Complex vector graphic editing
  • Non-image file processing

Prerequisites

ImageMagick

Limitations

  • Limited to operations supported by ImageMagick
  • Requires local installation of dependencies

How it compares

This approach allows for batch processing of multiple files through command-line instructions rather than manual editing in a graphical interface.

Compared to similar skills

image-editing side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
image-editing (this skill)32moNo flagsBeginner
ui-ux-pro-max1,9095moReviewIntermediate
svg-precision5274moReviewIntermediate
mobile-ios-design2725moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

ui-ux-pro-max

nextlevelbuilder

UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

1,9092,023

svg-precision

dkyazzentwatwa

Deterministic SVG generation, validation, and rendering. Use for icons, diagrams, charts, UI mockups, or technical drawings requiring structural correctness and cross-viewer compatibility.

5271,229

mobile-ios-design

wshobson

Master iOS Human Interface Guidelines and SwiftUI patterns for building native iOS apps. Use when designing iOS interfaces, implementing SwiftUI views, or ensuring apps follow Apple's design principles.

272711

openscad

mitsuhiko

Create and render OpenSCAD 3D models. Generate preview images from multiple angles, extract customizable parameters, validate syntax, and export STL files for 3D printing platforms like MakerWorld.

154305

mobile-android-design

wshobson

Master Material Design 3 and Jetpack Compose patterns for building native Android apps. Use when designing Android interfaces, implementing Compose UI, or following Google's Material Design guidelines.

101335

mobile-design

sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or native mobile apps.

149231

Search skills

Search the agent skills registry