photo-editor

Edit, resize, crop, filter, and optimize images programmatically with Python and Node.js.

Updated Jun 19, 2018
One-click install
npx skills add https://github.com/ouzayr/Utilities --skill photo-editor-ouzayr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photo-editor
Source: https://github.com/ouzayr/Utilities/tree/main/DailyPlanner/.local/secondary_skills/photo-editor
Command: npx skills add https://github.com/ouzayr/Utilities --skill photo-editor-ouzayr

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 programmatically.

Core Features & Use Cases

  • Image Transformation: Resize, crop, and change image formats.
  • Color & Exposure Adjustments: Modify brightness, contrast, saturation, and apply auto-contrast or equalization.
  • Filters & Effects: Apply blurs, sharpening, edge detection, and median filters.
  • Text & Watermarking: Add text overlays and watermarks to images.
  • Optimization: Save images in various formats (JPEG, PNG, WebP, AVIF) with optimization options.
  • Batch Processing: Process multiple images efficiently.
  • Advanced Use Cases: Face detection and image conversion using OpenCV.

Quick Start

Use the photo-editor skill to resize the image 'vacation.jpg' to fit within a 1080x1080 box while maintaining its 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?

Batch resize and crop images programmatically using Python libraries like Pillow and OpenCV, or Node.js with sharp. This process handles multiple files efficiently while maintaining aspect ratios and applying custom cropping dimensions.

Can I add text watermarks and overlay text onto images with Python?

Add text watermarks and overlays to images using Python libraries such as Pillow and OpenCV. The process supports custom text positioning, styling, and batch application across multiple image files for branding purposes.

What is the best way to optimize and convert images to WebP or AVIF formats?

Optimize and convert images to WebP or AVIF formats using sharp in Node.js or Pillow in Python. This approach compresses file sizes while preserving visual quality, supporting JPEG, PNG, WebP, and AVIF outputs.

How do I apply filters like blurs, sharpening, and edge detection to images?

Apply filters like blurs, sharpening, and edge detection to images using OpenCV and Pillow. These libraries provide programmatic access to median filters, Gaussian blurs, and custom kernel operations for image manipulation.

Does this image manipulation approach support face detection and background removal?

Face detection is supported through OpenCV, and background removal is handled by the rembg library. Together, these dependencies enable automated subject isolation and facial feature recognition within digital image workflows.

How do I adjust brightness, contrast, and saturation for photo correction?

Adjust brightness, contrast, and saturation for photo correction using Pillow and OpenCV. The process includes auto-contrast and equalization features to automatically balance exposure and color levels across processed images.