# Image Resize

> Use this skill when the task involves resizing, scaling, or compressing image files. Suitable for tasks like "resize these photos to 800px wide", "compress images to reduce file size", or "batch scale all JPEGs in a folder". Only relevant for image processing tasks — do NOT use for data files, text, or non-image tasks.

- Skill: `agentscope-ai/image-resize-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add agentscope-ai/image-resize-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentscope-ai/image-resize-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentscope-ai (https://skillmd.com/u/agentscope-ai)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/agentscope-ai/image-resize-2

---

# Image Resize Skill

Batch resizes and compresses image files (JPEG, PNG, WebP).

## Available Scripts

- `scripts/resize.py` — Resize one or more images to a target width/height; preserves aspect ratio by default

## Usage

```
python3 scripts/resize.py --input ./photos/ --width 800 --output ./resized/
```

