I've been messing around with OpenEXR and recently I've been coding a
small util to read tiff images and write exr files. I am having
problems when I pass the array which represents the tiff information to
the one which I will be passing to the exr calls. When I extract
a channel from my tiff array and pass it to an array exr will use it is
all messed up. One thing I have noticed is when I view what is
inside this array exr will be using is that only a small portion is
filled with information. I think I can tell what some of my
problems are, these being "my uint to float conversions which I have
googled to no end without any results, maybe I'm inproperly setting up
my data arrays, and last but not least I just dont get it
:D". I have included some mangled code which is a sample for my
problem and any replys would be welcome. I should mention I'm
developing under Linux x86_64, using libtiff for my tiff functions, and
using gcc v4.