Resize Image

Resize images to specific dimensions or percentages

46 stars 56 forksImages, Video & Audio

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add zocomputer/skills --skill resize-image
Manual install
git clone --depth 1 https://github.com/zocomputer/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/Official/zo-resize-image ~/.claude/skills/resize-image

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Resize Images

## Purpose

Resize images to specific dimensions, percentages, or file sizes using ImageMagick.

## Input

- Path to the image file(s) you want to resize
- Target dimensions or percentage

## Steps

1. Install ImageMagick:

```bash
apt-get update && apt-get install -y imagemagick
```

2. Resize the image based on user's requirements:

```bash
# Resize to specific width (height auto-calculated to maintain aspect ratio)
convert "<user's_image_path>" -resize 800x "<output_image_path>"

# Resize to specific height (width auto-calculated to maintain aspect ratio)
convert "<user's_image_path>" -resize x600 "<output_image_path>"

# Resize to exact dimensions (may distort image)
convert "<user's_image_path>" -resize 800x600! "<output_image_path>"

# Resize to fit within dimensions (maintains aspect ratio)
convert "<user's_image_path>" -resize 800x600 "<output_image_path>"

# Resize by percentage
convert "<user's_image_path>" -resize 50% "<output_image_path>"

# Batch resize all images in a directory
for img in *.jpg; do convert "$img" -resize 1920x1080 "resized_$img"; done
```

3. Tell the user where the resized image(s) were saved.

## Note

The default resize maintains aspect ratio. Use the '!' flag to force exact dimensions if needed.
Read the full skill on GitHub

Details

Skill name
resize-image
Path
Official/zo-resize-image/SKILL.md
License
MIT
Repo updated
29 July 2026

FAQ

What does the Resize Image skill do?

Resize images to specific dimensions or percentages

How do I install the Resize Image skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add zocomputer/skills --skill resize-image. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Resize Image popular?

It lives in zocomputer/skills, which has 46 GitHub stars and 56 forks.

Related skills

Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.