Manuale:$wgDjvuPostProcessor

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgDjvuPostProcessor and the translation is 29% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎日本語
DjVu: $wgDjvuPostProcessor
Path of the DjVu post-processor.
Introdotto nella versione:1.8.0 (r16036)
Rimosso nella versione:still in use
Valori concessi:(string)
Valore predefinito:'pnmtojpeg' (since 1.10.0)
'ppmtojpeg' (precedente a 1.10.0)
Impostazioni: Alfabetiche | Per funzione

Dettagli

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.

Change thumbnails to PNG

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

Vedi anche