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.
Hopefully you'll understand... I've developed a project using Angular 19, SSR and quite a few API endpoints are using NodeJs. I guess I should state my dev machine is a...
## Possible bug ``` // Copyright 2013 Lovell Fuller and others. // SPDX-License-Identifier: Apache-2.0 'use strict'; const sharp = require('sharp'); sharp('PariteShip.png',{ premultiplied: true }) .png({ quality: 80},{ premultiplied: true })...
## Question about an existing feature What file formats are supported with this library? What file formats are NOT supported with this library?
## Possible bug - [x] Running `npm install sharp` completes without error. - [x] Running `node -e "require('sharp')"` completes without error. - [x] I am using the latest version of...
## 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...
## Question about an existing feature ### What are you trying to achieve? We are trying to achieve the best possible (most accurate) OCR results. Images will be of invoices...
## Feature request ### What are you trying to achieve? I'm working in a multi-threaded Node.js application where `sharp().toBuffer()` output is passed to `worker_threads` via `postMessage`. To avoid copying overhead,...
I am unable to apply mask Here is the mask file  Here is the image that I am trying to apply mask to  This is what I am...
## Question about an existing feature ### What are you trying to achieve? I am writing a webpack loader to optimize images, some of that work includes resizing. For dev...
Here's a simple repro where importing sharp does not cause an issue with deno. But actually using it to encode an image fails due to toBuffer(). The prior issue about...