---
name: agentscope-ai-image-resize
description: "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."
metadata:
  decimalai-skill-id: "c44f3896-8a9a-4ac6-b16b-d3dc6ee3816e"
  decimalai-version-id: "003ae541-771a-464c-912d-7952d4333d82"
  decimalai-version: "1"
  decimalai-body-sha256: "eaa17e011db169f958d98dfa40c8cb630b8845219e3d859f47e5aeee38d46d67"
  decimalai-name: "agentscope-ai/image-resize"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-source: "https://app.decimal.ai/s/agentscope-ai-image-resize@1/SKILL.md"
---
# 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/
```
