[gdal-dev] access of 16-bit GeoTiff image using GDAL

Frank Warmerdam warmerdam at pobox.com
Mon Nov 17 23:00:37 EST 2008


zither wrote:
> Hi all,
> 
>   I'm using GDAL to read some Geotiff files. 
> But how I can get the information about little endian or big endian? 
> Any method can support to get this ?

Zither,

GDAL does not provide information on the endian-ness of the file, but
it shouldn't matter as data read through GDAL is always returned to
the application in local machine order.

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