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.
What is the output of running `npx envinfo --binaries --languages --system --utilities`? OS: macOS 10.15.1 CPU: (4) x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz Memory: 153.41 MB / 8.00 GB...
It would be great if there was a builtin function that allowed us to crop images based on aspect ratio instead of dimensions. The input to such a function could...
I would like to use Sharp with APNGs. I suspect this depends on an upstream issue (https://github.com/libvips/libvips/issues/562). (Not urgent on my part, but something I'd love to have.)
Hi, We are using the trim() function to get rid of extra white space around the image. But there is a recent issue we noticed. Trim() removes the portion of...
I am trying to understand what is the correct value to use for Kubernetes pod resource limits. Kubernetes documentation says: > Limits and requests for CPU resources are measured in...
Hi, Thank you for this awesome library. I recently come across another library that claims upto 17x faster performance than ImageMagick. Here's the link: https://github.com/imazen/imageflow Can you please add imageflow...
What are you trying to achieve? I have a known rgb value that surrounds the screenshot I am taking, and would like to replace it with a white, fully transparent...
If we try to extract more pixels than has an image - we will get "extract_area: bad extract area" Can we ignore exception and extract an actual pixels? I don't...
What are you trying to achieve? Extracting channels from an image, and re-composing them into a different setup Have you searched for similar questions? yes Are you able to provide...
It will be great to implement https://developer.mozilla.org/en-US/docs/Web/CSS/transform-origin