[Insight-developers] OpenJPEG 2000

Bradley Lowekamp blowekamp at mail.nih.gov
Wed May 22 16:26:58 EDT 2013


Hello,

I was going over some failing tests on windows debug systems, that are getting forgotten. Some of them are related to JPEG 2000. This is an interesting on.

This library is compiled a  "C" library yet we use it from c++. The size of the bool type is not matching up on either size on C++ is a byte, while on C is an int.

You can see how this unfortunately happens here:

https://github.com/Kitware/ITK/blob/master/Modules/ThirdParty/OpenJPEG/src/openjpeg/openjpeg.h#L50

It appears they have fixed this in the latest OpenJPEG 1.5.1 release...

What should be do?

Brad



More information about the Insight-developers mailing list