[vtkusers] VTU Compressed base64 Data

Davis Wu daviswu at live.com
Thu Aug 18 21:56:49 EDT 2016


Hi,

I have a VTU (unstructured grid) file that I’d like to parse myself. 

The header is as follows:
<VTKFile type='UnstructuredGrid' version='0.1' byte_order='LittleEndian' compressor='vtkZLibDataCompressor'>

And the AppendedData section looks like this:
<AppendedData encoding='base64'>
_AQAAAPD8AwDw/AMAA7wBAA==eNpcfXtYzE/U…
</AppendedData>

Running the appended data (excluding the first underscore) directly through a base64 decoder doesn’t appear to work. Running it through zlib uncompression doesn’t work either (invalid compressed data). So, I’m not sure where to start with this.

Any extra information about how to decompress and decode this appended data would be very helpful.

Regards,
Davis


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160818/b51f90ee/attachment.html>


More information about the vtkusers mailing list