Color encoding query
Posted: Tue May 15, 2012 1:17 pm
Hi,
I'm implementing some code to write OME metadata to tiff files and have a question about colour encoding.
http://git.openmicroscopy.org/src/devel ... nnel_Color says that 'The default value "-2147483648" is #FFFFFFFF so solid white (it is a signed 32 bit value)'
On Intel platforms (int32)-2147483648 is stored as 0x8000000, not 0xffffffff.
What encoding should I be using? I note that previous versions of this schema had an unsigned default value.
I'm implementing some code to write OME metadata to tiff files and have a question about colour encoding.
http://git.openmicroscopy.org/src/devel ... nnel_Color says that 'The default value "-2147483648" is #FFFFFFFF so solid white (it is a signed 32 bit value)'
On Intel platforms (int32)-2147483648 is stored as 0x8000000, not 0xffffffff.
What encoding should I be using? I note that previous versions of this schema had an unsigned default value.