[Tilecache] bad quality with 8bit AGG PNG images and metaTile=true

Gregor at HostGIS gregor at hostgis.com
Thu Mar 5 13:48:20 EST 2009


Gregor at HostGIS wrote:
> run ImageMagick's convert to scale them down to 8

How rude of me to share the idea but not be specific. :)

# watch that linewrap; there's only 1 line here
find /tmp/tilecache/parks_and_forests -name '*.png' -ls -exec convert 
-depth 8 -colors 256 {} {} \;

Note that it can take a long time for large datasets. You may want to 
run this in "screen" or take some other measure to prevent it from 
stopping if you get disconnected.

-- 
Gregor Mosheh / Greg Allensworth    BS, A+, Network+, Security+, Server+
System Administrator, Lead Programmer
HostGIS development & hosting services, http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA



More information about the Tilecache mailing list