xtk / X

The X Toolkit
http://www.goXTK.com
Other
795 stars 266 forks source link

update parseNII to deal with .gz files with file length not multiple of 4 bytes #100

Closed r03ert0 closed 12 years ago

r03ert0 commented 12 years ago

in Safari, parseNII was not accepting gziped nii files whose file length was not a multiple of 4bytes. Using DataView instead of Uint32Array solved the issue.

r03ert0 commented 12 years ago

that was easy :) thanks!