I’ve tried this but it doesn’t reduce the file size. For example, how to use the LZMA compressor like we would have in the GUI dialog box, to get the smallest file size.
my obs:
data.vtk - 2.4Mb
data.vtu- 2.5Mb
data.vtu- 1.2Mb(from paraview GUI - LZMA compressor)
I would like to use something like the last one to drastically reduce the file size. Even converting to other format is also fine with me(I need the format to have Arbitary order Lagrange Hexahedron support), but the objective is to reduce file size.
I get an error, when i write the script in a file named ‘convert.py’ and run it with ‘pvpython convert.py’:
Traceback (most recent call last):
File “convert.py”, line 5, in
w.CompressorType = LZMA
NameError: name ‘LZMA’ is not defined