Hi,<div>I am tiling some geoTiffs by using gdal2tiles.py<br><div>Currently I am reducing the png file size using following  imagemagick convert command. Is there some option in gdal2tiles.py that I can use to </div><div>reduce the file size (instead of forking a convert command for every tile )?</div>

<div><br></div><div>my convert command is: convert -depth 8 -colors 32.</div><div><br></div><div>(I believe) the  reduction in png size is mainly due to reducing the number of colors in the png. Is it possible to do that in gdal2tiles.py either by some option for output png, or by preprocessing input geotiff (gdalwarp?) to have limited colors.</div>

<div><br></div><div>Best,</div><div>Hemant</div><div><br></div><div><br></div></div>