Sharp is a high-performance image processing library for Node.js. It serves as a native extension and wrapper for the libvips framework, providing tools for image resizing, format conversion, and programmatic data manipulation.
The project enables the transformation of images into web-friendly formats such as WebP and AVIF while preserving color profiles and alpha channels. It also provides capabilities for generating blank image buffers with specified dimensions and background colors.
The library covers a broad range of image manipulation utilities, including rotation, extraction, compositing, and gamma correction. These operations support both the automated transformation of asset batches and the dynamic generation of images.