lovell

    lovell/sharp

    High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.

    32.8K stars
    1.4K forks
    32.8K GitHub watchers
    Updated Nov 4, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    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.

    Excerpt from the lovell/sharp README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    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

    lovell/sharp compared with Computer Vision repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    rohitg00/ai-engineering-from-scratch78.3K+1.6K751 day ago
    blakeblackshear/frigate37.3K—5924 days ago
    lovell/sharp32.8K—5837 days ago
    HenryNdubuaku/maths-cs-ai-compendium7.7K—10—
    mindee/doctr6.4K—6179 days ago
    aurelio-labs/semantic-router4.0K—5911 days ago
    Category median7.7K—59—

    Discover Repositories

    Search across tracked repositories by name or description