Manual:$wgDjvuPostProcessor

From mediawiki.org
This page is a translated version of the page Manual:$wgDjvuPostProcessor and the translation is 45% complete.
DjVu: $wgDjvuPostProcessor
Path of the DjVu post-processor.
Introducido en la versión:1.8.0 (r16036)
Eliminado en la versión:aún se usa
Valores permitidos:(cadena)
Valor predeterminado:'pnmtojpeg' (1.10+)
'ppmtojpeg' (1.8-1.9)

Detalles

Path of the DjVu post-processor. May include command line options. The output generated by $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 $wgDjvuOutputExtension as well.

Cambiar miniaturas a PNG

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

Véase también