Extension:Xcf

What can this extension do?
The Xcf extension allows GIMP multiple layer images to be embedded/rendered inside MediaWiki pages. It can be used to have thumbnails of specified size to be automatically generated from the uploaded .xcf files. (If no size is given, then the nominal size will be used.)

Remark
When rendering multiple layer images, all layers must have the same size as the image!

Dependencies

 * convert - This extension relies on an external conversion program to perform the conversion. By default, convert from the ImageMagick suite is used to perform this conversion, which means that you will need to have it installed on the server.

Installation
First copy the Xcf/ directory into the extensions folder of your MediaWiki installation.

To activate the extension, add the following lines to your LocalSettings.php file (near the end):

Also make sure that you have mediawiki configured to allow for file uploads:

This setting is already present in LocalSettings.php, however, it defaults to false. To enable uploads, make sure it is set to true.

Furthermore, when relatively large files are used, convert may consume more memory than the default 100MB that MediaWiki grants it. You can increase the memory to 512MB by adding the following line to LocalSettings.php:

Configuration parameters
see README