Re: [gdal-dev] gdal2tiles.py generating dark tiles

2014-07-14 Thread Allan Oware
After digging around and comparing other images, I realised that the .IMG lacks color interpretation since the ColorInterp parameter in gdalinfo output is undefined for the 3 bands. When I attempt to gdal_translate to Gtiff with -expand rgb option, the error output was: band 1 has no color table. A

[gdal-dev] gdal2tiles.py generating dark tiles

2014-07-14 Thread Allan Oware
Hi all, Dark tiles are generated when I run gdal2tiles.py on a .IMG file(a scanned and georeferenced topographical map). A sample png of the tiles generated is found here . Even when i translate to tiff, the output is still the same. Why does gd