LaunchKit · 2026
Back to Skills

Classic image manipulation with Python Pillow - resize, crop, composite, format conversion, watermarks.

3
995 downloads
by @galbria

Setup & Installation

openclaw skills install @galbria/image-utils

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install image-utils

Version History

v1.2.3Mar 10, 2026 - Version note by skill developer:

- Updated version to 1.2.5 in SKILL.md to reflect the latest release. - No functional changes to code or documentation content. - Maintains all previous features and usage examples.

What This Skill Does

Pillow-based image processing utilities covering resize, crop, composite, format conversion, watermarks, brightness/contrast adjustments, and web optimization. Works with local files, URLs, bytes, or base64 input. Can be used standalone or as a post-processing step after AI image generation.

Handles the full image pipeline from loading to export in one consistent API rather than stringing together separate tools for each operation.

When to use it

  • Batch-resizing a product image catalog to multiple sizes for a webstore
  • Cropping AI-generated images to 1:1 or 16:9 for social media platforms
  • Adding a logo watermark to hundreds of images before publishing
  • Converting PNG screenshots to optimized WebP for faster page loads
  • Compositing a cutout subject onto a new background image

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: resize all JPEGs in ./raw to 800px wide, add a watermark, and save as WebP

AGENT
  1. 1Iterates over all .jpg files in ./raw using Path.glob
  2. 2Loads each image with ImageUtils.load
  3. 3Resizes to width=800 with maintain_aspect=True
  4. 4Applies text watermark at bottom-right with add_text_watermark
  5. 5Saves each result as .webp with quality=85 via ImageUtils.save
OUTPUT

Processed WebP files written to ./output, each resized and watermarked