devel > RE: BrainVisa GIFTI files
Apr 16, 2008  10:04 AM | Olivier Coulon
RE: BrainVisa GIFTI files
rick,
I have to look into it but those newlines are not meant to be. The python code that generates the binary array looks like this :

for i in xrange(texture.size()):
val=texture.item(i)
valeur = valeur + pack(fmt, val)
valeur64=base64.encodestring(valeur)

So no sign of new lines... it seem to be systematically inserted added after each chunk of 76 characters.
I'll come back to you about this once I have understood why it is there.

Olivier

Threaded View

TitleAuthorDate
Richard Reynolds Apr 15, 2008
RE: BrainVisa GIFTI files
Olivier Coulon Apr 16, 2008
John Harwell Apr 17, 2008
Olivier Coulon Apr 21, 2008
Olivier Coulon Apr 21, 2008