libvips
libvips is a free and open-source image processing library. It is designed for efficient handling of large images. Unlike many other image processing libraries, libvips uses a depth-first, demand-driven evaluation strategy. This means that it processes images in small tiles, only loading the parts of the image that are needed for the current operation. This approach significantly reduces memory usage, allowing libvips to handle images that are much larger than the available RAM.
The library is written in C and provides a C API. It also has bindings for many
libvips is known for its speed and low memory footprint, making it a popular choice for web