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 great if sharp could scale images to an number of pixels like imagemagick does Examples here; http://www.imagemagick.org/Usage/resize/#pixel

enhancement
help wanted

I want to process my images such that only pixels that are a given color (eg: RGB(0,0,100)) will appear in the final image as black, the rest should be white....

enhancement
help wanted

As originally suggested [here](https://github.com/lovell/sharp/issues/640#issuecomment-309882036). This has the potential benefit of giving us a focus region/point by exposing the top/left coords.

enhancement

First of all, thanks for a super well made project - I love it. I'm trying to handle any errors that sharp encounter in a graceful way, but I can't...

enhancement

Unsure if this is on sharp's end, or possibly within libvips. The issue is that when attempting to resize(w,h).embed() an image which has either a width or height lower than...

enhancement

## Question about an existing feature ### What are you trying to achieve? I'm trying to load vector formats, such as PDF, EPS or SVG, to generate thumbnails. ### When...

question

## Possible install-time or require-time problem - [x] I have read and understood all of the [documentation relating to installation](https://sharp.pixelplumbing.com/install). - [x] I have searched for known bugs relating to...

installation

Users upload an image file in an input tag. They can crop images client side so that the result is always a square base64 string png image and then I'm...

question

## Feature request ### What are you trying to achieve? I need to check whether or not an image is animated (eg animated gif or webp). This may already be...

enhancement

I am using the `unflatten` command to make a version of a given image transparent. Example for a given image: ![300](https://github.com/lovell/sharp/assets/6303616/35f2816d-96a1-4b64-800a-3f8837a61e9f) Here is the result: ![300_transparent](https://github.com/lovell/sharp/assets/6303616/e600b249-5cad-40e5-80fa-2739e43377d2) As you can see,...

question