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

2008-11-17 Thread zither
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 ?


Thanks for your help!___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

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

2008-11-17 Thread Frank Warmerdam

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, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev