Saltar al contenido
TakoAPI
Volver a skills

image-utils

por galbria

Web & Frontend Development
995Descargas según clawskills.sh
3Estrellas
1Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

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

Descripción

Qué hace esta skill

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.

Cuándo usarla

  • 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

Flujo de trabajo de ejemplo

ENTRADA

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

AGENTE
  1. 1

    Iterates over all .jpg files in ./raw using Path.glob

  2. 2

    Loads each image with ImageUtils.load

  3. 3

    Resizes to width=800 with maintain_aspect=True

  4. 4

    Applies text watermark at bottom-right with add_text_watermark

  5. 5

    Saves each result as .webp with quality=85 via ImageUtils.save

SALIDA

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

Instalación

clawhub install galbria/image-utils

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces