photo-editor

Resize, crop, filter, and optimize images using Pillow, OpenCV, and sharp.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/AmirEmad11/instabot --skill photo-editor-amiremad11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photo-editor
Source: https://github.com/AmirEmad11/instabot/tree/main/.local/secondary_skills/photo-editor
Command: npx skills add https://github.com/AmirEmad11/instabot --skill photo-editor-amiremad11

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Editing images programmatically involves many pitfalls: sideways phone photos from EXIF orientation, distorted aspect ratios, slow pixel loops, and format-specific quirks. This Skill provides tested code patterns for common image operations so edits are correct on the first attempt. ## Core Features & Use Cases - Resize, Crop & Transform: Fit, pad, stretch, and face-aware cropping with Pillow and OpenCV, including correct EXIF orientation handling. - Color, Filters & Retouching: Adjust brightness, contrast, and saturation, apply blur/sharpen filters, remove watermarks via OpenCV inpainting, and add text or logo watermarks. - Optimization & Batch Processing: Convert between JPEG, PNG, WebP, and AVIF with quality guidance, strip metadata, and process entire folders; use sharp for high-throughput Node.js pipelines. - Use Case: You need 500 product photos resized to 1080x1080 WebP for a storefront. The batch processing pattern loops through the folder, fixes orientation, resizes with LANCZOS, and saves optimized WebP files. ## Quick Start Ask the AI to resize the attached photo to 1080x1080 and save it as an optimized WebP file.

Frequently Asked Questions about photo-editor

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

FAQPage Schema
What image format gives the smallest file size for the web?

WebP is roughly 30% smaller than JPEG at the same quality (use quality=85, method=6). AVIF is about 50% smaller than JPEG but encodes slower and requires Pillow 11 or newer.