What problem does it solve?
This Skill simplifies the complex task of image manipulation by providing a comprehensive toolkit for resizing, format conversion, composition, and metadata management in Node.js environments.
Core Features & Use Cases
- Image Resizing and Cropping: Resize images to exact dimensions or aspect ratios for web or print use.
- Format Conversion: Convert images between formats like JPEG, PNG, WebP, and AVIF for optimal web delivery.
- Overlay and Composition: Add watermarks, logos, or text overlays efficiently.
- Metadata Handling: Preserve or modify EXIF, ICC profiles, and XMP data during processing.
- Use Case: Automate image resizing for a photo gallery website, ensuring consistency across different display sizes and formats with minimal effort.
Quick Start
Use the sharp skill to resize an image file 'photo.jpg' to 800x600 pixels and save as 'resized.png'.