Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
DjVu: $wgDjvuPostProcessor
Path of the DjVu post-processor.
Introduced in version: 1.8.0 (r16036)
Removed in version: still in use
Allowed values: (string)
Default value: 'pnmtojpeg' (since 1.10.0)
'ppmtojpeg' (prior to 1.10.0)
Other settings: Alphabetical | By function


Path of the DjVu post-processor. May include command line options. The output generated by $wgDjvuRendererManual:$wgDjvuRenderer is passed onto this program.

The default: 'ppmtojpeg' is used, since ddjvu generates ppm output, which needs to be converted to JPEG to be viewed in browsers.

If your post-processor outputs anything other than .jpg files, you need to set $wgDjvuOutputExtensionManual:$wgDjvuOutputExtension as well.

Change thumbnails to PNG[edit]

$wgDjvuPostProcessor = "pnmtopng";
$wgDjvuOutputExtension = "png";

See also[edit]