Opened 21 years ago

Last modified 21 years ago

#316 closed defect (fixed)

NITF format does not handle endianness corectly

Reported by: ian.ligertwood@… Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

Big-endianness of NITF images is not corrested for intel based systems.
unsigned short test files on the NTB website reveal this behavior eg: 
http://164.214.2.51/ntb/baseline/software/testfile/nitfv2.1/v_3402a.ntf

Change History (1)

comment:1 by warmerdam, 21 years ago

I have committed a fix for this in gdal/frmts/nitf/nitfimage.cpp.  

Multi-byte image data in NITF is always bigendian, right?

Any other feedback on the NITF support is appreciated.  I have a number of
clients wanting to use it soon. 

Note: See TracTickets for help on using tickets.