[Gdal-dev] gdal_merge.py Gtiff files with -pct losing color

Joaquim Luis jluis at ualg.pt
Wed Dec 6 14:56:37 EST 2006


Matt Wilkie wrote:
> Hi Dori, gdal doesn't like something about the way the source image[1] 
> is formatted. I can't view it in OpenEV or in QGIS, it just comes up 
> as a black image even before trying to translate or merge. Histograms 
> in both programs come up blank.  You should probably file a bug[2]
>
> In the meantime, I was able to open the image using ossim 
> imagelinker[3], so maybe give that a try (though being pressed for 
> time you may not have the time to learn it).
>
>
> [1] 
> http://www.mediamax.com/izzybitsie/Hosted/AS_GMSNO_00_20061122205548.tif.gz 
>
> [2] http://bugzilla.remotesensing.org/enter_bug.cgi?product=GDAL
> [3] http://www.ossim.org/OSSIM/Welcome.html
>

Hi,
There is nothing wrong with GDAL. What happens is that the file has a 
color palette with only zeros.
So naturally it comes up as a black image.

Joaquim Luis



More information about the Gdal-dev mailing list