Extension:VipsScaler

This extension is a wrapper around VIPS a free image processing software. To be further documented.

VIPS installation
Install VIPS. It can be downloaded from http://www.vips.ecs.soton.ac.uk/.

Then download, VipsScaler, add it to your extensions/ directory, then add require_once("$IP/extensions/VipsScaler/VipsScaler.php"); If you'd like to add the Special:VipsTest test page, also add require_once("$IP/extensions/VipsScaler/VipsTest.php");

Debian / Ubuntu
$ apt-get install vips If you want to build from source have a look at upstream documentation: http://www.vips.ecs.soton.ac.uk/index.php?title=Build_on_Ubuntu

Mac OS X

 * homebrew
 * brew install vips
 * binary symlink is /usr/local/bin/vips

Configuration
$wgVipsCommand : path to the vips command (default: vips).

$wgVipsOptions : scaler conditions, to be documented.