lovell/sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
5 releases in the last 90 days, the latest 37 days ago, with 229 contributors on GitHub.
Peaked at #51 in the weekly ranking the week of Dec 21, its best in the past year.
Use Cases & Benefits
- Provides high performance image processing for Node.js, enabling fast resizing and format conversion of JPEG, PNG, WebP, AVIF, and TIFF images.
- Delivers significantly faster image resizing compared to ImageMagick and GraphicsMagick by leveraging the libvips library for efficient processing.
- Use for optimizing large images into smaller, web-friendly formats to improve website load times and user experience.
- Use for server-side image manipulation workflows in Node.js applications requiring rotation, compositing, and gamma correction.
- Use for creating custom image processing pipelines in JavaScript runtimes like Deno or Bun without additional dependencies.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
The typical use case for this high speed Node-API module is to convert large images in common formats to smaller, web-friendly JPEG, PNG, WebP, GIF and AVIF images of varying dimensions.
It can be used with all JavaScript runtimes that provide support for Node-API v9, including Node.js (^18.17.0 or >= 20.3.0), Deno and Bun.
Resizing an image is typically 4x-5x faster than using the quickest ImageMagick and GraphicsMagick settings due to its use of libvips.
Colour spaces, embedded ICC profiles and alpha transparency channels are all handled correctly. Lanczos resampling ensures quality is not sacrificed for speed.
As well as image resizing, operations such as rotation, extraction, compositing and gamma correction are available.
Most modern macOS, Windows and Linux systems do not require any additional install or runtime dependencies.
Visit sharp.pixelplumbing.com for complete installation instructions, API documentation, benchmark tests and changelog.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
1.4K+20
Open issues
128+10
Compared with peers in Computer Vision
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| rohitg00/ai-engineering-from-scratch | 78.3K | +1.6K | 75 | 1 day ago |
| blakeblackshear/frigate | 37.3K | — | 59 | 24 days ago |
| lovell/sharp | 32.8K | — | 58 | 37 days ago |
| HenryNdubuaku/maths-cs-ai-compendium | 7.7K | — | 10 | — |
| mindee/doctr | 6.4K | — | 61 | 79 days ago |
| aurelio-labs/semantic-router | 4.0K | — | 59 | 11 days ago |
| Category median | 7.7K | — | 59 | — |
Discover Repositories
Search across tracked repositories by name or description