sharp icon indicating copy to clipboard operation
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.

Results 285 sharp issues
Sort by recently updated
recently updated
newest added

It would be nice to get image histograms, specifying the number of bins. Issue #1169 was closed referencing #640, but the latter ended providing functionality to get dominant colors, but...

enhancement

## Possible bug ### Is this a possible bug in a feature of sharp, unrelated to installation? - [x] Running `npm install sharp` completes without error. - [x] Running `node...

enhancement
ready-to-ship

## Question about an existing feature ### What are you trying to achieve? When naively converting non-GIF to GIF, the output GIF is set to loop forever. It might make...

enhancement

## Question about an existing feature ### What are you trying to achieve? I am trying to remove white pixels (RGB ➡️ 255 255 255, but also close values like...

question

When using `sharp(input).metadata()` an object with properties, which includes `background` is returned. > background: Default background colour, if present, for PNG (bKGD) and GIF images, either an RGB Object or...

enhancement

### What are you trying to achieve? We develop a product that relies heavily on image processing, and in particular on image resizing. We were previously using ImageMagick for this...

question

Is there currently a way to merge multiple images into a single animation file using Sharp/Libvips? I've tried using raw buffer data that contains 10 frames, however calling `metadata()` shows...

enhancement

## Feature request ### What are you trying to achieve? The current way to use a externally compiled/provided libvips depends on automatically detection of the sharp installer scripts. This has...

enhancement
ready-to-ship

## Feature request Currently the `.trim()` method trims each border as much as possible. If the image is asymmetric then the trimOffsets on each axis might differ (e.g. `trimOffsetLeft` !==...

question