lovell/sharp
View on GitHub ↗ ★ 32,816 JavaScript
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
17 mentions on Hacker News by 17 people: 4 stories, 13 comments · first 2014-05-22 · latest 2026-06-01
20082026
-
…to build native dependencies. sharp for example needs to build libvips on the system [0] to work 0: https://github.com/lovell/sharp/blob/main/install/build.js
comment by tom1337 · 2026-06-01 · in Malicious npm packages detected across Red Hat Cloud Services -
▲ 44
Sharp: High performance Node.js image processing/optimizationstory by nateb2022 · 2025-12-16 · 10 comments
-
…is probably the canonical thread about libvips and memory fragmentation, and the funniest graph: https://github.com/lovell/sharp/issues/955#issuecomment-5458... (that specific graph is for switching from glib to the musl memory allocator,…
comment by jcupitt · 2025-06-15 · in Jemalloc Postmortem -
▲ 2
Sharp – fast image conversion in Node.jsstory by bryanrasmussen · 2024-03-26 · 0 comments
-
…a template and render it to PNG with Sharp [2]. [1]: https://hntrends.net/api/og?word=twitter [2]: https://github.com/lovell/sharp
comment by bencevans · 2023-07-10 · in Easy SVG sparklines -
It would be awesome if sharp ( https://github.com/lovell/sharp ) would implement this algorithm
comment by ACAVJW4H · 2021-04-17 · in Content-aware image resizing in JavaScript -
Sharp lib is veeeerrryyy close to AVIF support: https://github.com/lovell/sharp/issues/2289 (you can compile a version to use for yourself, it's just not production stable yet).
comment by davidmurdoch · 2020-11-09 · in I wrote JavaScript to avoid JavaScript -
…in the metadata. I ended up using sharp [1] since it was so easy to integrate into my workflow. 1. https://github.com/lovell/sharp
comment by hansenzhang · 2020-05-15 · in Ask HN: What's your quarantine side project? -
For images, you'd want to use a more performant 'sharp'. https://github.com/lovell/sharp Benchmark https://sharp.pixelplumbing.com/en/stable/performance/
comment by h1d · 2019-08-06 · in FFmpeg 4.2 -
…You could easily set up a simple node.js program that uses fs.watcher to watch for new files, and https://github.com/lovell/sharp to process the two most recent images and see if the pixels are identical. If you need to package this into a…
comment by sam0x17 · 2018-07-26 · in Ask: send email if two images are the same -
Sharp for node.js has proven to be powerful, flexible and fast for my needs: https://github.com/lovell/sharp/
comment by rawrmaan · 2017-06-22 · in Ask HN: Best Self-Hosted, Server-Side Image Optimization Tools? -
…(native C library) correctly. I built and deployed my image thumbnailer on a CentOS VM. [1]: https://github.com/lovell/sharp
comment by rebolyte · 2017-06-22 · in Ask HN: How was your experience with AWS Lambda in production? -
▲ 1
Fast Node.js image resizerstory by valentinvieriu · 2017-05-16 · 0 comments
-
…instance type in an autoscaling group on Google Cloud. Any feedback is greatly appreciated! [1] https://github.com/lovell/sharp
comment by hoahluke · 2017-02-06 · in Show HN: Simple image resizing/optimization service -
…for Node.js. [1] https://github.com/jcupitt/libvips [2] https://github.com/nthtran/imgop [3] https://github.com/lovell/sharp
comment by nthtran · 2015-03-22 · in Show HN: Firesize – On-the-fly image resizing, no code required -
▲ 1
The fastest Node.js module for resizing JPEG, PNG, WebP and TIFF imagesstory by lukashed · 2014-05-23 · 0 comments
-
Has anyone tried sharp for node? Looks quite promising. https://github.com/lovell/sharp
comment by willyyr · 2014-05-22 · in Compressor.io – Compress and optimize your images