[Gdal-dev] Detecting endianness of a raw image
Meek, Allan
Allan.Meek at drdc-rddc.gc.ca
Thu Feb 1 13:31:58 EST 2007
Hi,
I'm working on a driver for a 32-bit complex image format (flat binary
image file and text header file). The image can be either big or little
endian format; unfortunately, the header file does not specify this. Is
there a reliable way to determine the endianness of this type of file?
I've searched for this, but I've only found methods to determine the
endianness of an operating system.
Thanks,
Allan Meek
More information about the Gdal-dev
mailing list