sharp

Resize, convert, and overlay images in Node.js using the Sharp library.

40|9|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/clasen/Skills --skill sharp-clasen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sharp
Source: https://github.com/clasen/Skills/tree/main/sharp
Command: npx skills add https://github.com/clasen/Skills --skill sharp-clasen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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'.

Frequently Asked Questions about sharp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resize images in Node.js for web delivery?

To resize images in Node.js, you can use the Sharp library to adjust dimensions or aspect ratios. This Skill facilitates resizing images to exact pixel dimensions for web or print use.

Can I convert images between JPEG, PNG, WebP, and AVIF formats?

Yes, you can convert images between JPEG, PNG, WebP, and AVIF formats. This Skill enables format conversion in Node.js to ensure optimal web delivery and digital asset workflow compatibility.

How do I add watermarks or logos to images in Node.js?

Adding watermarks or logos to images in Node.js is achieved through overlay and composition. This Skill provides a comprehensive toolkit to efficiently add text or image overlays.

Does Sharp preserve EXIF, ICC, and XMP metadata during image processing?

Yes, Sharp preserves EXIF, ICC, and XMP metadata during image processing. This Skill includes metadata handling features allowing you to preserve or modify embedded profile data.

What is the best way to automate image resizing for a photo gallery website?

The best way to automate image resizing for a photo gallery website is using a Node.js image processing pipeline. This Skill streamlines resizing across different display sizes with minimal effort.

Do I need the Sharp library to manipulate image pipelines in Node.js?

Yes, you need the Sharp library to manipulate image pipelines in Node.js. This Skill requires Sharp to enable efficient, high-performance image processing and format conversion.