Hacker GitHub

← All repos

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

Mentions per year 17 mentions · busiest year 2017 (4)
20082026
  1. …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
  2. ▲ 44
    Sharp: High performance Node.js image processing/optimization
    story by nateb2022 · 2025-12-16 · 10 comments
  3. …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
  4. ▲ 2
    Sharp – fast image conversion in Node.js
    story by bryanrasmussen · 2024-03-26 · 0 comments
  5. …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
  6. 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
  7. 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
  8. …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?
  9. 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
  10. …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…
  11. Sharp for node.js has proven to be powerful, flexible and fast for my needs: https://github.com/lovell/sharp/
  12. …(native C library) correctly. I built and deployed my image thumbnailer on a CentOS VM. [1]: https://github.com/lovell/sharp
  13. ▲ 1
    Fast Node.js image resizer
    story by valentinvieriu · 2017-05-16 · 0 comments
  14. …instance type in an autoscaling group on Google Cloud. Any feedback is greatly appreciated! [1] https://github.com/lovell/sharp
  15. …for Node.js. [1] https://github.com/jcupitt/libvips [2] https://github.com/nthtran/imgop [3] https://github.com/lovell/sharp
  16. ▲ 1
    The fastest Node.js module for resizing JPEG, PNG, WebP and TIFF images
    story by lukashed · 2014-05-23 · 0 comments
  17. Has anyone tried sharp for node? Looks quite promising. https://github.com/lovell/sharp