image-cropper

Crop images to centered dimensions using Python and Pillow presets.

8|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/hhhh124hhhh/SkillMate --skill image-cropper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-cropper
Source: https://github.com/hhhh124hhhh/SkillMate/tree/main/resources/skills/image-cropper
Command: npx skills add https://github.com/hhhh124hhhh/SkillMate --skill image-cropper

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Center-crop images to focused regions while preserving important content for social media and publishing assets.

Core Features & Use Cases

  • Single-image center cropping with automatic size matching from presets (wechat-cover, instagram, etc.)
  • Batch cropping across folders for consistent visuals
  • Safe handling with center-focused crop to avoid important elements being cut

Quick Start

python scripts/crop_image.py input.jpg --preset wechat-cover --output output.jpg python batch_crop.py images/ --preset instagram --output cropped/

Frequently Asked Questions about image-cropper

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

FAQPage Schema
How do I center-crop images for social media banners and thumbnails?

You can batch crop images across folders for consistent social media visuals by applying a preset like instagram or wechat-cover to an entire input directory. This processes all images to consistent dimensions automatically.

How do I batch crop images for consistent social media visuals?

You can batch crop images across folders for consistent social media visuals by applying a preset like instagram or wechat-cover to an entire input directory. This processes all images to consistent dimensions automatically.

Does Pillow support center cropping with preset dimensions for Instagram and WeChat?

Center cropping focuses on the middle region of an image to avoid cutting important elements. It is needed when resizing images for social media assets, banners, or article thumbnails that require specific, consistent dimensions without distorting the content.

What is center cropping and when do I need it for image processing?

Center cropping focuses on the middle region of an image to avoid cutting important elements. It is needed when resizing images for social media assets, banners, or article thumbnails that require specific, consistent dimensions without distorting the content.

Can I use Python to crop images to specific width and height presets?

Center cropping safely handles images by targeting the focused middle region to avoid cutting important elements. It processes single images and batch folders by matching dimensions from presets, preventing distortion of key content.

What are the limitations of center cropping for social media assets?

Center cropping safely handles images by targeting the focused middle region to avoid cutting important elements. It processes single images and batch folders by matching dimensions from presets, preventing distortion of key content.