[Insight-developers] Analyze writer header size incorrect on64-bit system

Thielemans, Kris kris.thielemans at csc.mrc.ac.uk
Tue Jul 24 13:31:23 EDT 2007


>But there _should_ be some solution available.  The most obvious would be to
>define the header in terms of data types of known size, EG int16 int32
>long64, etc. 

yes, and you read field by field, as opposed to the whole structure at once. that way, you specify the file-offset explictly, and compiler alignment becomes irrelevant.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20070724/6058f1af/attachment.html


More information about the Insight-developers mailing list