sharp
sharp copied to clipboard
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
I'm debugging a minor leak problem with a sharp-based service I'm running. From /proc/$PID/fd I can tell that over time, it seems to acquire more and more open file descriptors...
Support was removed in v0.30.2 due to https://github.com/lovell/sharp/issues/3112 Once we upgrade lcms to v2.13.1 or later, we can revert commit https://github.com/lovell/sharp/commit/21a960796c769263e66f45f9ee1795d31be0272e, which will probably be as part of sharp v0.31.0.
Actually vips support webp in pyramid tiff in certain platform like ubuntu but not windows. Is it possible for sharp to support webp in all platform when vips didn't. The...
It would be very cool if `sharp` could support proper streaming. As it is now, it will always emit exactly one `data` event which is the whole image. It kind...
I would like to create an image from an array of image buffers with x number of images per row.
## Question about an existing feature ### What are you trying to achieve? I'm building a photo gallery where the photos are sorted by the HSL hue of the dominant...
## Question about an existing feature ### What are you trying to achieve? I wan to convert GIF files to WebP with good quality and a small file size. Using...
my express,js code ``` res.header('Access-Control-Allow-Origin', '*'); res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept'); res.header('Access-Control-Allow-Methods', 'GET, PUT, OPTIONS'); res.header('Content-Type', 'image/png'); let text_svg = ` @font-face { font-family: "somefont"; src: url("./somefont.ttf"); } .test{ font-family:...
We always set `withoutEnlargement=true` when processing images. This prevents image upscaling if width supplied is larger than needed. This should ideally be ignored by sharp library when input is vector....