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

Frank Warmerdam warmerdam at pobox.com
Tue Dec 19 21:01:42 EST 2006


Jean-Claude Repetto wrote:
> Hello Frank,
> 
> Thanks for your answer. I understand that ECW does not support palettes, 
> but I think gdal_translate should :
> - either convert the image to 24bit before converting it to ECW
> - either print an error message and stop.

Jean-Claude,

I agree that the ECW CreateCopy() method ought to report at least a warning
that the color table is being ignored.  If you file a bug on this, I can get
it fixed at some point.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list