photo-editor

Edit, resize, crop, filter, and optimize images using Python and Node.js libraries.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/BasitShafiq/personal --skill photo-editor-basitshafiq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photo-editor
Source: https://github.com/BasitShafiq/personal/tree/main/.local/secondary_skills/photo-editor
Command: npx skills add https://github.com/BasitShafiq/personal --skill photo-editor-basitshafiq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, opencv-python, sharp, rembg, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates image manipulation tasks, allowing users to easily edit, resize, crop, apply filters, and optimize images without manual software intervention.

Core Features & Use Cases

  • Image Transformation: Resize, crop, and adjust image dimensions and aspect ratios.
  • Color & Exposure Adjustments: Modify brightness, contrast, saturation, and apply auto-contrast or grayscale.
  • Filters & Effects: Apply various filters like blur, unsharp mask, and edge detection.
  • Text & Watermarking: Add text overlays and watermarks to images.
  • Optimization & Format Conversion: Save images in various formats (JPEG, PNG, WebP, AVIF) with optimization options and strip metadata.
  • Batch Processing: Process multiple images efficiently.
  • Advanced Operations: Utilize OpenCV for face detection and Pillow for detailed image editing.

Quick Start

Use the photo-editor skill to resize the attached image 'vacation.jpg' to fit within a 1080x1080 box while maintaining aspect ratio.

Frequently Asked Questions about photo-editor

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

FAQPage Schema
How do I batch resize and crop images programmatically without manual software?

Batch resize and crop images programmatically by applying dimension adjustments and aspect ratio modifications across multiple files simultaneously. Using Python libraries like Pillow and OpenCV automates batch processing for efficient image manipulation without manual software intervention.

Can I convert images to WebP or AVIF formats and strip metadata for optimization?

Convert images to WebP or AVIF formats and strip metadata for optimization using libraries like Pillow and sharp. This saves images in various formats with optimization options applied, reducing overall file size while maintaining visual quality.

Does this photo manipulation approach support adding text overlays and watermarks?

This photo manipulation approach supports adding text overlays and watermarks to images using Pillow. It handles detailed image editing tasks including text integration, allowing automated application of branding elements directly onto image files.

What is the best way to apply color correction and filters like blur or unsharp mask?

The best way to apply color correction and filters like blur or unsharp mask is by adjusting brightness, contrast, and saturation programmatically. Libraries like Pillow and OpenCV apply auto-contrast, grayscale, and edge detection filters efficiently.

Can I use OpenCV and Pillow together for face detection and image editing?

You can use OpenCV and Pillow together for face detection and detailed image editing. OpenCV handles advanced operations like face detection, while Pillow manages detailed transformations such as resizing, cropping, and applying color corrections.

What are the limitations of using sharp and rembg for image manipulation?

Limitations of using sharp and rembg for image manipulation include dependency on specific Node.js and Python environments. While sharp handles resizing and format conversion efficiently, complex filtering and face detection require integrating OpenCV and Pillow for full functionality.