The Legacy VTK Binary format requires that data be written in Big-Endian, so if you write it in Little-endian format it will byte-flip it internally (thinking it&#39;s Big-endian).<br><br>You&#39;ll need to swap it yourself before you write it into the File... So that ParaView can swap it again when it reads it (I know, silly ain&#39;t it?)<br>
<br><div class="gmail_quote">On Mon, Mar 3, 2008 at 9:58 AM, Server Levent Yilmaz &lt;<a href="mailto:leventyilmaz@gmail.com">leventyilmaz@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am using the legacy binary VTK format to dump my image data. The data is little endian, but Paraview (or rather the VTK readers I suppose) reads it as a big one. <br><br>Instead of modifying the way image data is dumped (I am not linking against VTK libraries, and am lazy (or too concerned with performance) to convert the data) at run time, is it possible to instruct Paraview to flip the byte order somehow with a filter? <br>

<br>If there is no such filter available, can I write a programmable one? <br><br>thanks<br>Levent<br><font color="#888888"><br>-- <br>Server Levent Yilmaz<br>Mechanical Engineering<br>University of Pittsburgh
</font><br>_______________________________________________<br>
ParaView mailing list<br>
<a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>----------------------------------------<br>Randall Hand <br>Visualization Scientist<br>ERDC MSRC-ITL