photo-editor

Resize, crop, filter, and convert images using Pillow, OpenCV, or sharp.

Updated Aug 4, 2025
One-click install
npx skills add https://github.com/nirajrathod19/Inlytix_BI --skill photo-editor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photo-editor
Source: https://github.com/nirajrathod19/Inlytix_BI/tree/main/.local/secondary_skills/photo-editor
Command: npx skills add https://github.com/nirajrathod19/Inlytix_BI --skill photo-editor

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 Editing: Resize, crop, adjust colors, apply filters, and add text to images.
  • Optimization: Convert images to various formats (JPEG, PNG, WebP, AVIF) and optimize them for web or storage.
  • Batch Processing: Apply edits to multiple images simultaneously.
  • Use Case: Quickly resize a batch of product photos to a consistent thumbnail size and optimize them for faster website loading.

Quick Start

Use the photo-editor skill to resize the 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
How do I batch resize and optimize images for web loading?

Batch image optimization and resizing is achieved programmatically by applying edits to multiple images simultaneously. You can convert files to formats like WebP or AVIF and constrain dimensions to reduce overall file size for faster website loading.

Can I use Pillow and OpenCV together for photo manipulation?

Yes, photo manipulation can utilize both Pillow and OpenCV within the same workflow. The skill supports various image processing libraries to handle diverse use cases, ranging from basic edits like cropping to advanced computer vision tasks.

How do I convert images to WebP or AVIF format?

Image format conversion to WebP or AVIF is handled through programmatic optimization scripts. This process transforms standard image files into modern formats to optimize them for web deployment or storage requirements.

Does this approach support background removal for product photos?

Background removal for product photos is supported through the rembg dependency. This enables advanced photo manipulation by isolating subjects within images, which can then be resized or optimized in batches.

What is the best way to maintain aspect ratio when resizing images?

Maintaining aspect ratio during image resizing requires fitting the image within a defined pixel box constraint. This ensures proportional scaling without distorting the original visual dimensions of the photograph.