Questions tagged [sharp]

Questions about sharp, a Node.js image processing library to resize, crop and optimize JPEG, PNG, WebP and TIFF images.

The typical use case for this high speed module is to convert large images in common formats to smaller, web-friendly JPEG, PNG and WebP images of varying dimensions.

Resizing an image is typically 4x-5x faster than using the quickest [tag:imagemagick and settings.

Colour spaces, embedded ICC profiles and alpha transparency channels are all handled correctly. Lanczos resampling ensures quality is not sacrificed for speed.

As well as image resizing, operations such as rotation, extraction, compositing and gamma correction are available.

Most 64-bit OS X, Windows and Linux (glibc) systems running Node versions 4, 6, 8 and 9 do not require any additional install or runtime dependencies.

Download Sharp

455 questions
-1
votes
1 answer

Resizing image on server size

In my node.js project, I want to be able to pull images from the web, resize them to the size I want, and output as a base64 string. Which library is the best way of doing this? I tried a bunch of different ones but none of them are working: var url…
Chris Jones
  • 856
  • 1
  • 11
  • 24
-2
votes
1 answer

Image sharpening, with mixer

The image will be located on the canvas, to quickly change the picture. Implemented convolution with matrix [0, -1, 0, -1, 5, -1.0, -1, 0]. I can not implement a change in the intensity of sharpening with the help of increasing the mix. Please tell…
-2
votes
1 answer

Get Pdf Rest Sharp (GET)

I am testing a service to which you send a json and it returns a PDF with the data you sent it. I did tests with Insomnia as shown here: It works correctly, but trying to recover the file through code always generates an error. My code is the…
1 2 3
30
31