[Gdal-dev] Conversion of paletted PNG to ECW does not work

Jean-Claude Repetto jean-claude.repetto at worldonline.fr
Tue Dec 19 07:37:06 EST 2006


Hello,

When I convert a paletted PNG file to ECW, the resulting image is almost 
black, as if the compression was made using the indexes instead of the 
real colours.

I am using GDAL 1.3.2 on Gentoo-64.
Example:
gdal_translate -of ECW -co "TARGET=94%" -co "DATUM=NTF"  -co 
"PROJ=LM1FRA2D" -a_ullr  a_ullr 970000 1860000 980000 1850000 test.png 
test.ecw

There is no problem with a true colour PNG image.

Is it a known bug ?

Thanks,
Jean-Claude




More information about the Gdal-dev mailing list