Extension:PagedTiffHandler

The PagedTiffHandler extension allows to upload and display tiff-files into your wiki. It can handle multi-paged images and render them into thumbnails on per page basis.

Usage
You can embed images using standard image syntax. Additionally, there are two new parameters:

Configuration
PagedTiffHandler rejects images based on error messages of ImageMagick. There are three options:


 * Images are rejected if the error message matches $wgTiffIdentifyRejectMessages
 * Images are accepted without moaning if the error message matches $wgTiffIdentifyBypassMessages
 * In other cases, images are accepted but the error message is recorded in the image metadata.

Example configuration (all of the parameters show the default configuration):

PagedTiffHandler depends on various external programs in order to process Tiff images.

For each software in use, a path to the binary file must be provided.
 * ImageMagick is used to check the image and render thumbail images. This is mandatory, PagedTiffHandler will not work without ImageMagick.
 * Exiv2 is used to extract image metadata (optional).
 * Vips is an addition to ImageMagick for fast processing of large image files (optional).

Example configuration:

PagedTiffHandler also checks a few parameters of the image in order to be able to control the necessary processing time.

Example configuration:

When thumbnailing fails for an image, PagedTiffHandler will not try again to render this image for some time. The setting below controls after how many seconds thumbnailing may be tried again.

Example configuration:

All of the above shown parameters are set as default in the configuration of the extension. In order to override them, just put the override value after you include the extension in LocalSetting.php:
 * Defaults

Example: