libvips

libvips

libvips.org

1

About this website

libvips is a demand-driven, threaded image processing library designed for exceptionally high performance and low memory consumption. Developed since 2007 by John Cupitt at the National Gallery in London, it can process images with as little as 30 megabytes of RAM regardless of input file size, making it ideal for server-side image processing at scale. The library supports over 300 operations including resizing, cropping, rotation, color space conversion, compositing, convolution, morphological operations, frequency-domain filtering, and histogram analysis. It handles a wide range of pixel formats from 8-bit integers to 128-bit complex values, and reads or writes JPEG, PNG, WebP, HEIC, AVIF, TIFF, GIF, SVG, PDF, FITS, OpenEXR, DDS, and raw image data. Benchmarks consistently show it outperforming alternatives like ImageMagick and GraphicsMagick by 2 to 8 times in speed while using a fraction of the memory. Official bindings are available for C, C++, Ruby, Python, PHP, .NET, Go, Lua, Crystal, Elixir, Java, Nim, and Rust, making it accessible across virtually every programming ecosystem. The core library is written in C and released under the LGPL 2.1 license, allowing both open-source and commercial use. Notable projects built on this foundation include sharp, a popular Node.js image processing module with over 6 million weekly downloads; imgproxy; Mastodon's media pipeline; and Wikimedia Foundation's image scaling infrastructure. The current version 8.18 continues to add format support and performance improvements.

Tags & Categories

Categories

Tags

Statistics

1
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!