On the recordRead 4 Oct 202623 facts
Sharp
On the record
- Browser limitation
- The optional WebAssembly package does not support use in web browsers or single-threaded environments.sharp.pixelplumbing.com · read 3 Oct 2026
- Deep Zoom
- Sharp can generate Deep Zoom image pyramids for use with slippy map tile viewers such as OpenSeadragon.sharp.pixelplumbing.com · read 4 Oct 2026
- Formats
- Sharp reads JPEG, PNG, WebP, GIF, AVIF, TIFF and SVG, and outputs JPEG, PNG, WebP, GIF, AVIF, TIFF or raw pixel data.sharp.pixelplumbing.com · read 3 Oct 2026
- Image input and output
- Streams, Buffer objects and the filesystem can be used for input and output, and one input stream can feed multiple processing pipelines.sharp.pixelplumbing.com · read 3 Oct 2026
- Image operations
- It supports image resizing, rotation, extraction, compositing, and gamma correction.sharp.pixelplumbing.com · read 4 Oct 2026
- Image optimization
- It can use mozjpeg and pngquant features to optimize JPEG and PNG file sizes without separate imagemin processes.sharp.pixelplumbing.com · read 4 Oct 2026
- Input and output
- Streams, Buffer objects, and the filesystem can be used for input and output, and a single input stream can feed multiple processing pipelines.sharp.pixelplumbing.com · read 4 Oct 2026
- Input formats
- Sharp supports reading JPEG, PNG, WebP, GIF, AVIF, TIFF, and SVG images.sharp.pixelplumbing.com · read 4 Oct 2026
- Installation
- The installation guide lists npm, pnpm, yarn, Bun, and Deno commands for installing Sharp.sharp.pixelplumbing.com · read 4 Oct 2026
- License
- The project is licensed under Apache License 2.0.sharp.pixelplumbing.com · read 4 Oct 2026
- Output formats
- Sharp can output JPEG, PNG, WebP, GIF, AVIF, and TIFF images, as well as uncompressed raw pixel data.sharp.pixelplumbing.com · read 4 Oct 2026
- Performance
- The site says image resizing is typically 4x–5x faster than the quickest ImageMagick and GraphicsMagick settings, using libvips.sharp.pixelplumbing.com · read 4 Oct 2026
- Platform binaries
- Prebuilt binaries are listed for macOS, Linux, and Windows; FreeBSD is supported through WebAssembly.sharp.pixelplumbing.com · read 4 Oct 2026
- Platform requirement
- The installation guide requires a Node-API v9-compatible runtime, such as Node.js >= 20.9.0.sharp.pixelplumbing.com · read 4 Oct 2026
- Processing model
- Sharp processes small regions of uncompressed image data, uses multiple CPU cores, remains non-blocking, and supports Promises and async/await.sharp.pixelplumbing.com · read 3 Oct 2026
- Product
- Sharp is a high performance Node-API module for image processing, commonly used to convert large images into smaller web-friendly images.sharp.pixelplumbing.com · read 4 Oct 2026
- Purpose
- Sharp is a high-speed Node-API module for converting large images into smaller, web-friendly images.sharp.pixelplumbing.com · read 3 Oct 2026
- Runtime requirement
- Installation requires a Node-API v9 compatible runtime, such as Node.js 20.9.0 or newer.sharp.pixelplumbing.com · read 3 Oct 2026