image-processor

Resize, convert, watermark, and generate thumbnails for images using Python's Pillow library.

84|15|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/AIDotNet/MoYuCode --skill image-processor-aidotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-processor
Source: https://github.com/AIDotNet/MoYuCode/tree/main/skills/tools/image-processor
Command: npx skills add https://github.com/AIDotNet/MoYuCode --skill image-processor-aidotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, and includes scripts (resource) components.

What problem does it solve?

This Skill automates common image manipulation tasks, saving you time and effort when you need to resize, convert formats, add watermarks, or generate thumbnails.

Core Features & Use Cases

  • Resize Images: Adjust image dimensions while optionally maintaining aspect ratio.
  • Format Conversion: Convert images between various formats like JPG, PNG, and WEBP.
  • Watermarking: Add text or image-based watermarks for branding or copyright.
  • Thumbnail Generation: Create multiple thumbnail sizes from a single image.
  • Use Case: You have a batch of photos that are too large for a website. Use this Skill to resize them all to a web-friendly width and convert them to WEBP format for faster loading.

Quick Start

Use the image-processor skill to resize the attached image 'logo.png' to a width of 200 pixels and save it as 'logo_small.png'.

Frequently Asked Questions about image-processor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch resize images and convert them to WEBP for faster web loading?

Batch resize images and convert formats to WEBP using Python's Pillow library, adjusting dimensions while maintaining aspect ratio to optimize photos for web development workflows.

What's the best way to add a watermark to multiple photos using Python?

Add watermarks to multiple photos by utilizing Pillow to overlay text or image-based branding elements, automating copyright protection across batch image operations for content creation.

How do I generate multiple thumbnail sizes from a single image?

Generate multiple thumbnail sizes from a single image by applying Pillow's thumbnail generation functions, creating scaled-down versions suitable for asset management and web previews.

Do I need to install Pillow separately to use this image processing tool?

Yes, you need to install the Pillow dependency separately to enable image manipulation capabilities, as the scripts rely on this Python library to execute resizing, format conversion, and watermarking tasks.

Can I convert JPG files to PNG format while preserving the original aspect ratio?

Convert JPG files to PNG format while preserving the original aspect ratio by applying format conversion alongside optional dimension-locking parameters provided by the Pillow library.

Why does image-processor require command-line arguments for task specification?

Image-processor requires command-line arguments for task specification to define exact image operations like resizing width or output format, ensuring precise batch processing control via script execution.