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.
libvips and sharp currently only check an input file is missing (ENOENT) but could probably check for and differentiate on EACCES and perhaps other less common errors such as ELOOP...
It would be desirable to be able to erode and dilate images with sharp. https://jcupitt.github.io/libvips/API/current/libvips-morphology.html#vips-morph What would it take to implement erode and dilate?
Hello, would you please consider adding such an operation?
What is the output of running `npx envinfo --binaries --languages --system --utilities`? ``` Sharp: 0.22.1 System: OS: Linux 4.9 Amazon Linux AMI 2018.03 CPU: (4) x64 Intel(R) Core(TM) i7-7700HQ CPU...
I am working on a project in which I need to put graphics onto surfaces. To make the results look realistic I need the displace function using displacement map, similar...
Hi, there. I am trying to get Lab colors from image using such code: ```js sharp(buffer, { raw: opts }) .toColorspace('lab') .raw() .toBuffer((err, data, info) => { if (err) {...
This "issue" is to gather feedback on potential API improvements that would result in logically splitting existing methods into operations vs options, then allowing image processing pipelines to be constructed...
I'm interested in being able to apply 3D LUTs to images on the fly, eg. `.cube` files. I think `vips_maplut()` is the right function under the hood for this, perhaps...
I guess I am missing something here, but I am not able to use textPath, the path can be rendered but not the text in it. Tried this syntax https://developer.mozilla.org/en/docs/Web/SVG/Element/textPath...
Embedded input profiles (and default profiles for CMYK images that are missing a profile) are already supported. This enhancement relates to using custom input profiles. Proposed API: ```javascript sharp(input, {...