libvips is a demand-driven, horizontally threaded image processing library. Compared to similar libraries, libvips runs quickly and uses little memory. The download area has the source code plus pre-compiled binaries for Windows. You can install on macOS with homebrew, MacPorts or Fink, and it’s available in most Linux package managers, see the install notes. libvips is licensed under the LGPL 2.1+.
It has around 300 operations covering arithmetic, histograms, convolution, morphological operations, frequency filtering, colour, resampling, statistics and others. It supports a large range of numeric formats, from 8-bit int to 128-bit complex. Images can have any number of bands. It supports a good range of image formats, including JPEG, TIFF, OME-TIFF, PNG, WebP, FITS, Matlab, OpenEXR, PDF, SVG, HDR, PPM, CSV, GIF, Analyze, DeepZoom, and OpenSlide. It can also load images via ImageMagick or GraphicsMagick, letting it load formats like DICOM.
It comes with bindings for C, C++, Python and the command-line. Full bindings are available for Ruby, PHP, Go, and Lua. libvips is used as an image processing engine by sharp (on node.js), bimg, sharp for Go, carrierwave-vips, mediawiki, PhotoFlow and others. The official libvips GUI is nip2, a strange combination of a spreadsheet and an photo editor.
2017-09-02 00:00:00 +0000
There’s a new major release of
ruby-vips, the Ruby binding for libvips: it’s now version 2.0. It has the same API (it passes the same test suite), but it’s simpler to install, works on Linux, macOS and Windows, it works with any Ruby (including JRuby), it’s smaller, more stable, and faster.
2017-09-01 00:00:00 +0000
There’s a new libvips binding for Python. It has the same API as the one that comes with libvips (it passes the same test suite), it’s very easy to install on Linux, macOS and Windows, it works with any Python, it should be smaller and more stable, and it has nice new documentation:
2017-06-01 00:00:00 +0000
LuaJIT now has a full libvips binding. It’s the whole of libvips, it has a test-suite which passes with no memory leaks, and it’s in
luarocksso it’s easy to install.
2017-03-28 00:00:00 +0000
We have a new website running from github pages. Hopefully this will be easier to use and less work to maintain.
2017-03-16 00:00:00 +0000
libvips 8.5 is done! This post summarizes what’s new in this release. Check the ChangeLog if you need more details.