photo-editor

Resize, crop, enhance, filter, and convert photos with EXIF orientation handling.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Darshit-Vaghani/swasau_website --skill photo-editor-darshit-vaghani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photo-editor
Source: https://github.com/Darshit-Vaghani/swasau_website/tree/main/.local/secondary_skills/photo-editor
Command: npx skills add https://github.com/Darshit-Vaghani/swasau_website --skill photo-editor-darshit-vaghani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps turn raw images into usable, better-quality versions by resizing, cropping, filtering, and optimizing them for specific formats or platforms.

Core Features & Use Cases

  • Orientation-safe image editing: Fixes EXIF orientation issues before any transformations so phone photos don’t end up rotated.
  • Resize, crop, and format optimization: Produces thumbnails and platform-ready outputs (JPEG/PNG/WebP/AVIF) with quality guidance.
  • Enhancement and creative edits: Applies brightness/contrast/color/sharpness adjustments and common effects like blur, denoise, and edge enhancement.
  • Watermarking and batch processing: Adds semi-transparent logos and processes folders of images efficiently.
  • Tooling choice for performance and capability: Uses Pillow for general edits, sharp for high-throughput pipelines, OpenCV for vision tasks, and rembg for background removal.

Quick Start

Ask the AI: "Resize and center-crop this image to 1080x1080, auto-fix orientation, enhance brightness and contrast slightly, add a bottom-right semi-transparent watermark from logo.png, and save an optimized WebP at quality 85."

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?

To batch resize and optimize images, you apply resize and format conversion workflows across entire folders using sharp. This generates performance-oriented outputs like WebP and AVIF while maintaining quality control parameters.

Why do my phone photos appear rotated after cropping and resizing?

Phone photos appear rotated when EXIF orientation metadata is ignored during processing. You must apply orientation-safe image editing to read and auto-fix EXIF tags before any crop or resize transformations to ensure correct visual output.

Can I add a semi-transparent watermark to multiple images at once?

Yes, you can add semi-transparent watermarks to multiple images using batch processing workflows. By applying a logo overlay during the image optimization pipeline, you can efficiently watermark folders of images while simultaneously resizing or converting formats.

What's the best way to generate thumbnails from high-resolution photos?

The best way to generate thumbnails is using sharp for high-throughput resize workflows with appropriate resampling choices. This ensures optimized, correctly cropped thumbnail outputs while avoiding destructive re-encoding of the original high-resolution source files.

Does this photo editing approach support background removal and denoising?

Yes, this photo editing approach supports background removal using rembg and denoising via OpenCV-driven steps. It applies enhancement and filtering workflows including brightness, contrast, sharpness adjustments, blur, and edge enhancement for creative edits.

When should I use sharp instead of Pillow for image optimization?

You should use sharp instead of Pillow for high-throughput image optimization pipelines. Pillow handles general edits, while sharp provides performance-oriented batch processing, and OpenCV manages vision tasks like denoise and edge enhancement.