image-processor

Process and convert images with resize, crop, compress, and format conversion. Use when user needs to batch resize photos, convert image formats, compress images for web, create thumbnails, or apply filters to images.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "image-processor" with this command: npx skills add dinghaibin/dinghaibin-image-processor

Image Processor

Process and convert images with resize, crop, compress, and format conversion.

Quick Start

# Resize an image
python scripts/process.py input.jpg --resize 800x600 --output output.jpg

# Convert format
python scripts/process.py input.png --format jpg --output output.jpg

Usage

python scripts/process.py INPUT [OPTIONS]

Options:
  --output PATH      Output file path
  --resize WxH       Resize to dimensions
  --scale PERCENT    Scale by percentage
  --crop WxH+X+Y     Crop to dimensions
  --format FORMAT    Convert format: jpg, png, webp, gif
  --quality QUALITY  JPEG quality (1-100)
  --thumbnail SIZE  Create thumbnail
  --grayscale        Convert to grayscale
  --blur RADIUS      Apply blur
  --rotate DEGREES   Rotate image

Examples

# Resize to 800px width
python scripts/process.py photo.jpg --resize 800x0 --output small.jpg

# Create thumbnail
python scripts/process.py photo.jpg --thumbnail 200x200 --output thumb.jpg

# Compress for web
python scripts/process.py large.jpg --quality 80 --format webp --output optimized.webp

# Batch resize
for f in *.jpg; do python scripts/process.py "$f" --resize 1200x0 --output "small_$f"; done

# Convert to PNG
python scripts/process.py input.jpg --format png --output output.png

Features

  • Resize (by dimensions or percentage)
  • Crop
  • Format conversion (JPG, PNG, WebP, GIF)
  • Quality/compression control
  • Thumbnails
  • Grayscale conversion
  • Blur filter
  • Rotation
  • Batch processing

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

房车工业设计师

房车(RV/Motorhome/Touring Car)工业设计师技能。专注于旅居车、拖挂房车、商务房车、B型/C型房车的空间布局、外观造型、CMF设计、水电系统、人机舒适、智能控制、品牌体验设计。当用户需要房车设计方案、布局规划、设计规范、竞品分析、CMF材料工艺、人机工程、智能控制功能规划时使用此技能。

Registry SourceRecently Updated
General

china-shopping-oracle

国内全平台比价工具。Compare prices on Taobao/JD/Pinduoduo. Supports member pricing (88VIP/Plus). 电商比价、购物助手。

Registry SourceRecently Updated
General

feishu file transfer guide

Guide to upload and send local files to Feishu users via OpenClaw by obtaining tenant token, uploading files for file_key, then sending file message using Fe...

Registry SourceRecently Updated
General

Ainative React Sdk

Use @ainative/react-sdk to add AI chat and credits to React apps. Use when (1) Installing @ainative/react-sdk, (2) Using the useChat hook for chat completion...

Registry SourceRecently Updated