[gdal-dev] gdal2tiles.py reducing output png file size.
Hemant Bist
hemantbist at gmail.com
Fri Jun 4 10:58:11 EDT 2010
Hi,
I am tiling some geoTiffs by using gdal2tiles.py
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
reduce the file size (instead of forking a convert command for every tile )?
my convert command is: convert -depth 8 -colors 32.
(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.
Best,
Hemant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100604/3b99ad0d/attachment.html
More information about the gdal-dev
mailing list