Image Processor for Openclaw

A robust CLI tool for batch image processing, offering resizing, cropping, compression, and multi-format conversion.

dinghaibin
v1.0.0
Apr 29, 2026
0
751
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dinghaibin-image-processor

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dinghaibin-image-processor using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Image Processor?

The Image Processor is a versatile utility designed for developers and content creators who need to automate visual asset pipelines. By integrating this into your workflow with Openclaw Skills, you can handle everything from simple format swaps to complex batch transformations using straightforward CLI commands.

This skill provides a high degree of control over output quality and dimensions, making it ideal for preparing web assets or managing large photo libraries. It supports industry-standard formats including WebP, JPEG, PNG, and GIF, ensuring your images are perfectly optimized for any platform.

Image Processor Use Cases

  • Batch resizing large sets of photographs for web galleries.
  • Automated generation of 200x200 thumbnails for ecommerce or blog listings.
  • Converting high-resolution assets to optimized WebP format to improve site performance.
  • Standardizing image formats across a project by converting various inputs to PNG or JPG.
  • Applying stylistic filters like grayscale or blur to a collection of UI assets.

How Image Processor Works

  1. The user provides an input image path and specifies desired transformation flags via the command line.
  2. The skill parses the input arguments to determine the sequence of operations (e.g., resize then grayscale).
  3. The underlying processing engine loads the image into memory and applies the requested geometric or filter transformations.
  4. If a format conversion is requested, the engine re-encodes the image data accordingly.
  5. The processed file is written to the specified output path or generated as a new asset in the directory.

Image Processor Setup

To begin using this tool within your Openclaw Skills environment, ensure you have the necessary script access and dependencies installed:

# Clone the repository and navigate to the skill directory
cd skills/image-processor

# Basic usage test to resize an image
python scripts/process.py input.jpg --resize 800x600 --output output.jpg

Image Processor Data Schema & Taxonomy

The Image Processor skill manages data through direct file system interaction, outputting files based on user-defined parameters:

Parameter Description Supported Values
--format Target file extension jpg, png, webp, gif
--quality Compression level 1-100 (Integer)
--resize Pixel dimensions WxH (e.g., 800x600)
--crop Coordinate cropping WxH+X+Y

All metadata from the original image is handled according to the target format's capabilities during the encoding process.

Image Processor Advanced Features

  • Smart Resizing: Use 0 in dimensions (e.g., 800x0) to maintain aspect ratio automatically.
  • Batch Integration: Easily wrap the script in shell loops for bulk processing of entire directories.
  • Multi-Step Processing: Apply rotation, grayscale, and quality compression in a single execution line.
  • Web Optimization: Explicit quality control and WebP support for high-performance asset delivery.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*