From 4e7c83792805973950344e0b2d60ae93a202e9ab Mon Sep 17 00:00:00 2001 From: CounterPillow Date: Tue, 10 Apr 2012 21:30:26 +0200 Subject: [PATCH] Added documentation about optimizeimg. --- docs/config.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/config.rst b/docs/config.rst index dac2c12..dfd8450 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -360,6 +360,20 @@ values. The valid configuration keys are listed below. **Default:** ``95`` +``optimizeimg`` + This option specifies which additional tools overviewer should use to + optimize the filesize of png tiles. + The tools used must be placed somewhere, where overviewer can find them, for + example the "PATH" environment variable or a directory like /usr/bin. + This should be an integer between 0 and 3. + * ``1 - Use pngcrush`` + * ``2 - Use advdef`` + * ``3 - Use pngcrush and advdef (Not recommended)`` + Using this option may significantly increase render time, but will make + the resulting tiles smaller, with lossless image quality. + + **Default:** ``0`` + ``bgcolor`` This is the background color to be displayed behind the map. Its value should be either a string in the standard HTML color syntax or a 4-tuple in