[Gdal-dev] two questions about GDAL data type and data model

Frank Warmerdam warmerdam at pobox.com
Tue Feb 21 18:43:22 EST 2006


Klain Qin wrote:
> Hi,
> 
>  
> 
> I have two questions for GDAL API:
> 
>  
> 
> 1.     What’s the use of the complex types CInt16, CInt32, CFloat32, and 
> CFloat64? Which kinds of images will return such kinds of data types?

Klain,

The complex image type is primarily of use for radar imagery.

> 2.     Does GDAL provide API’s for conversion between RGB, HLS or CMYK? 
> I found that GDAL can return HLS or CMYK bands directly to the user.

In *theory* GDAL supports images in HLS, and CMYK format, but in practice
I don't think any drivers actually do this.  There is no color model
conversion code in GDAL.

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