photo-editor

Edit, resize, crop, filter, and optimize images programmatically with Pillow, OpenCV, and sharp.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive toolkit for manipulating and enhancing digital images programmatically, streamlining image processing tasks.

Core Features & Use Cases

  • Image Manipulation: Resize, crop, rotate, and adjust color/exposure of images.
  • Filters & Effects: Apply various filters like blur, sharpen, and edge detection.
  • Text & Watermarks: Add text overlays and watermarks to images.
  • Optimization & Conversion: Save images in various formats (JPEG, PNG, WebP, AVIF) with optimization.
  • Batch Processing: Process multiple images efficiently.
  • AI Background Removal: Utilize AI for background removal.
  • Use Case: Automatically resize and watermark a batch of product photos for an e-commerce website, ensuring consistent branding and optimal file sizes.

Quick Start

Use the photo-editor skill to resize the attached image 'logo.png' to fit within a 500x500 pixel 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
What is the best way to convert image formats and apply text watermarks programmatically?

The best way to convert image formats and apply text watermarks programmatically is through batch processing scripts. This method handles format conversion, such as saving to JPEG or PNG, while simultaneously applying text overlays for branding consistency.

How do I batch resize and optimize images for web formats like WebP and AVIF?

Batch resize and optimize images by programmatically processing multiple files to save in formats like WebP and AVIF. This approach ensures optimal file sizes for web optimization while maintaining visual quality across digital assets.

Can I use AI background removal on product photos without manual masking?

AI background removal on product photos is supported using the rembg library. This allows you to automatically remove backgrounds without manual masking, streamlining photo manipulation for e-commerce assets and digital asset management.

Does this image editing approach work with Pillow and OpenCV for color correction and filtering?

This image editing approach works with Pillow and OpenCV to perform color correction, exposure adjustment, and filtering. You can apply effects like blur, sharpen, and edge detection directly through these libraries for comprehensive photo manipulation.

How do I add text watermarks to images programmatically during batch processing?

You can add text overlays and watermarks to images programmatically. This enables consistent branding across assets, allowing you to apply watermarks during batch processing to protect and standardize digital images efficiently.

What is the best way to convert image formats and apply filters for digital asset management?

The best way to convert image formats and apply filters for digital asset management is through programmatic batch processing. This method handles format conversion to JPEG, PNG, or WebP while applying filters like sharpen and blur automatically.