photo-editor

Resize, crop, filter, and optimize images via Pillow, OpenCV, or sharp.

1|Updated Aug 24, 2025
One-click install
npx skills add https://github.com/Pixoraft/KirpalSecure-site --skill photo-editor-pixoraft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photo-editor
Source: https://github.com/Pixoraft/KirpalSecure-site/tree/main/.local/secondary_skills/photo-editor
Command: npx skills add https://github.com/Pixoraft/KirpalSecure-site --skill photo-editor-pixoraft

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 for efficient editing, resizing, cropping, filtering, and optimization of images through code.

Core Features & Use Cases

  • Image Manipulation: Resize, crop, apply filters, adjust color, add text, and remove backgrounds.
  • Format Conversion & Optimization: Save images in various formats (JPEG, PNG, WebP, AVIF) with optimization options.
  • Batch Processing: Apply edits to multiple images efficiently.
  • Use Case: Automatically resize and optimize a batch of product photos for a website, ensuring consistent dimensions and file sizes.

Quick Start

Use the photo-editor skill to resize the 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 optimize images for web formats like WebP and AVIF?

Batch resize and optimize images by applying programmatic edits to multiple files, saving outputs in WebP, AVIF, JPEG, or PNG. This ensures consistent dimensions and reduced file sizes for web deployment.

Can I use OpenCV and Pillow to programmatically crop and adjust image colors?

Yes, you can programmatically crop and adjust image colors using OpenCV and Pillow. These libraries enable automated color adjustment, cropping, and filtering for efficient visual content preparation.

What's the best way to remove backgrounds from multiple product photos automatically?

Remove backgrounds from multiple product photos automatically by utilizing the rembg dependency within a batch processing workflow. This automates background removal to isolate subjects for catalogs or web assets.

Does this image manipulation approach support adding text and applying filters to images?

Yes, this image manipulation approach supports adding text and applying filters to images. You can programmatically apply visual enhancements and text overlays across single or batch processed files.

How do I maintain aspect ratio when resizing images to a specific bounding box?

Maintain aspect ratio when resizing images by programmatically fitting the original dimensions within a target bounding box. This prevents image distortion while enforcing maximum width and height constraints.

What limitations should I expect when using sharp for image optimization versus other libraries?

When using sharp for image optimization alongside Pillow and OpenCV, expect variations in format support and processing speed. Sharp excels at fast web format conversion, while OpenCV handles complex manipulation.