I want to store long int attributes in an EXR file, but the value I get when
reading it back is always 5. The string, int, and double attributes that are
part of the library seem fine.
I'm using openexr 2.0.0 on a Linux Fedora 14 OS. Here's the way I defined the
attribute:
namespace Imf_2_0 {
typedef TypedAttribute<long> LongAttribute;
template <> const char *LongAttribute::staticTypeName ();
}
template <>
const char * Imf_2_0::LongAttribute::staticTypeName ()
{
return "long";
}
In a debugger I can see that the attribute has the correct value, when I insert it into the header for output. When reading it from the file, the named attribute gets the right typeName. It just has the wrong value, and all of the LongAttributes have the
same value.
Is this a known bug?
--
Dick Hadsell 203-992-6320 Fax: 203-992-6001
Reply-to: hads...@blueskystudios.com
Blue Sky Studios http://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560
_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel