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.
@lovell, I've seen several issues where you've answered by suggesting the use of a specific kernel for various use cases, but I don't have a very good understanding of what...
Sharp is missing a lot of visual examples in its doc.
my package-manager: ``` ❯ pnpm --version 7.11.0 ``` ## Possible install-time or require-time problem - [x] I have read the [documentation relating to installation](https://sharp.pixelplumbing.com/install). - [x] I have ensured that...
Hi, I've noticed that some kind of race condition seems to happen when composing an image with another sharp instance, like this: ``` let outer = sharp(....) outer.composite([ await sharp(....)...
Hi, I'm trying to perform a composite operation on an image that I am sending through a stream in GCS. I've already done some prior research on this, I'm aware...
## Possible install-time or require-time problem - [x] I have read the [documentation relating to installation](https://sharp.pixelplumbing.com/install). - [x] I have ensured that the architecture and platform of Node.js used for...
## Question about an existing feature I'm pretty sure this is just me being stupid, but is there a way to use `tint` to achieve something like the below? ###...
As discussed here: https://github.com/lovell/sharp/issues/659 This naming could make it clearer that it only applies to JPGs. The proposed syntax would be: ``` pipeline.resize(100,100).whenJpeg({quality : 75}).toBuffer(function(){}) ``` Which would do the...
**What is the output of running `npx envinfo --binaries --languages --system --utilities`?** ``` npx: installed 1 in 1.188s System: OS: macOS 10.15.1 CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @...
Hello, is there a way to pad an image if it's smaller than required dimensions? For example: | desired dimensions | actual dimensions | expected result | |---------------------|-------------------|-----------------| | 1000x1000...