[Gdal-dev] colorinterp for ECW

Frank Warmerdam fwarmerdam at gmail.com
Mon Feb 14 13:20:18 EST 2005


On Mon, 14 Feb 2005 12:18:01 -0500, Stephane Routelous <route at cae.com> wrote:
> Hi everybody,
> 
> is that normal that
> GDALColorInterp colorInterp =gdalRasterBand->GetColorInterpretation();
> for an ECW image returns GCI_Undefined ?

Stephane, 

Till very recently this is what would always happen.  However, just
last week I added a GetColorInterpretation() method on the
ECWRasterBand.  There still might be circumstances in which it would
return undefined, but normally it will now return something appropriate.

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    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list