Sharp

Sharp is a high-speed image processing module based on Node-API. It uses the libvips library to convert large-sized images into web-compatible sizes in JPEG, PNG, WebP, GIF and AVIF formats. Node.js supports Deno and Bun runtimes; it also carries out operations such as rotation and cropping, along with color spaces, ICC profiles, and alpha transparency channels.

SH

lovell · Image & Photo Processing

STARS32.8K
FORKS1.4K
COMMITS—
CONTRIBUTORS230
VERSIONv0.9.3
UPDATEDyesterday
JavaScriptImage ProcessingNode.jsApache-2.0

Common commercial products in this category: Adobe Photoshop, Adobe Lightroom, Cloudinary

What can it do?
  • You can convert large-sized photos into web-friendly JPEG, PNG, WebP, GIF and AVIF formats.
  • You can resize images, rotate them, cut them, and apply layer-add operations.
  • You can process color spaces by maintaining embedded ICC profiles and alpha transparency channels.
User reviews
  • • NeutralGitHub Issue

    Can't compile under Apple Silicon M1 arm64

    “Did you see the [documentation relating to installation]( * yes Have you ensured the architecture and platform of Node.js used for `npm install` is the same as the architecture and platform of Node.js used at runtime? * yes Are you using the latest version? Is the version…”

  • • NeutralGitHub Issue

    Support for Windows

    “I'd like to be able to use sharp on the Windows platform. Because `libvips` is available for Windows, I assume that lack of support is mostly in figuring out the build script. Has this been investigated already? If so, what approaches have already been tried and roadblocks…”

Verified against README · Oct 26, 2026 · source

My note

Alternative pages

More in: Image & Photo Processing