gcc 4 can generate an optimization error in compiling adscimg2cbf_sub.c causing it to miss-compute the local byte order, resulting in byte-swapped images. A patch and an updated tarball have been provided to correct this problem. The CVS has been updated.
Until you have applied this patch or downloaded the updated tarball, you should compile adscimg2cbf without optimization.
imgCIF/CBF is a format for image data, such as synchrotron diffraction images. CBFlib is a software package supporting the imgCIF/CBF format. For background information, see Hall and McMahon, International Tables for Crystallography, Volume G, Definition and exchange of crystallographic data, IUCr, Springer, 2008, Dordrecht, NL, esp. chapters 2.3, 3.7, 4.6 and 5.6.
The CBFlib package available from ... read more
Release 0.7.9.1 of CBFlib with Chris Nielsen's jiffies adscimg2cbf and cbf2adscimg "jiffies" is available.