Re: [gdal-dev] Can't get colour table for GeoTIFF

2013-07-15 Thread Frank Warmerdam
Nike, The gdalinfo report on the file is as follows. It is an RGBA file - that is it has four bands which are red, green, blue and alpha. It appears you are configured to only work with single band pseudo-colored images (images with a palette). I suppose you will need to generalize your code fo

[gdal-dev] Can't get colour table for GeoTIFF

2013-07-15 Thread Nik Sands
Hi! I'm using the code below as part of a routine to warp images. For most images it works fine. However, for one of my users, their images are being converted from full colour to black and white which is not supposed to happen. I've narrowed down the issue to the code below where 'hCT' rema