+
+ + libvips : an image processing library + +libvips is a 2D image processing library. Compared to +similar libraries, libvips runs quickly and uses little +memory. +libvips is licensed under the LGPL 2.1+.
+ +It has around 300 operations covering arithmetic, histograms, +convolutions, 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. It supports a good range of +image formats, including JPEG, 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.
+ +It has APIs for +C +and +C++ +and comes with a Python +binding +and a command-line +interface. +Bindings are available for Ruby, +JavaScript and others. There is full +documentation. +There are several GUIs as well, see the VIPS +website.
+ +There are packages for most unix-like operating systems and binaries for +Windows and OS X.
+ + Building libvips from a source tarball + +We keep pre-baked tarballs of releases on the vips website:
+ +http://www.vips.ecs.soton.ac.uk/supported/current/
+ +Untar, then in the libvips directory you should just be able to do:
+ +$ ./configure
+
+
+Check the summary at the end of configure
carefully.
+libvips must have build-essential
, pkg-config
, glib2.0-dev
, and
+libxml2-dev
.
For the vips8 Python binding, you must have
+gobject-introspection
, python-gi-dev
, and libgirepository1.0-dev
.
You'll need the dev packages for the file format support you
+want. For basic jpeg and tiff support, you'll need libtiff5-dev
,
+libjpeg-turbo8-dev
, and libgsf-1-dev
. See the Dependencies section
+below for a full list of the things that libvips can be configured to use.
Once configure
is looking OK, compile and install with the usual:
$ make
+$ sudo make install
+
+
+By default this will install files to /usr/local
.
We have detailed guides on the wiki for building on +Windows +and building on OS +X.
+ ++
+ + Building libvips from gitCheckout the latest sources with:
+ +$ git clone git://github.com/jcupitt/libvips.git
+
+
+Building from git needs more packages, you'll need at least swig
, gtk-doc
+and gobject-introspection
, see the dependencies section below. For example:
$ brew install gtk-doc swig
+
+
+Then build the build system with:
+ +$ ./bootstrap.sh
+
+
++
+ + DisclaimerNo guarantees of performance accompany this software, nor is any +responsibility assumed on the part of the authors. Please read the licence +agreement.
+