1999.11.24 14:42 "byte order of >8bpp data", by Frank Warmerdam

1999.11.24 14:42 "byte order of >8bpp data", by Frank Warmerdam

Folks,

I am trying to read a big-endian 16 bits per sample image on a little endian system, and it seems that libtiff isn't swapping the data into little endian order for me in TIFFReadTile() (or presumably TIFFReadStrip()).

My questions are:

Clearly, if the handling of byte swapping is changed in libtiff, the new release will have to go out with a substantial warning as it will break applications that handling the byte swapping themselves.

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turned up | Frank Warmerdam, warmerda@home.com
light and sound - activate the windows | http://members.home.com/warmerda
and watch the world go round - Rush    | Geospatial Programmer for Rent