[Paraview] windows build can not read appended image (VTI) data
Brad King
brad.king at kitware.com
Wed Jun 11 10:32:49 EDT 2008
Brad King wrote:
> Brad King wrote:
>> Server Levent Yilmaz wrote:
>>> To discover (for it was undocumented) that a 4 byte number of elements
>>> should precede each record and should be a BIG ENDIAN integer regardless
>>> of the endianness of rest of the binary data was quite a thrill (to say
>>> the least!).
>> Where did you see this? It's most certainly wrong. The byte order of
>> the count should match that specified by the "byte_order" attribute of
>> the VTKFile element. I see that the files you posted are using big
>> endian order for that number even though the file says they are
>> LittleEndian. It's just luck that the file reads anywhere.
>
> Oh, and FYI the count should not be the number of elements, it should be
> the number of *bytes* in the array (before base-64 encoding if that is
> done).
I've written a brief wiki page describing the binary format:
http://www.vtk.org/Wiki/VTK_XML_Formats
-Brad
More information about the ParaView
mailing list