support for gzipped nrrd files
We and our colleagues (working in fly brain neuroanatomy) use the NRRD format. We have >100,000 NRRD images with data gzip encoded. gzip compression is useful because many images are sparse and compress by factors of >10 or even >100x.
At least on the current v5.4.1 on mac gzip encoding is not supported.
ERROR: In /Users/kitware/dashboards/buildbot-slave/8275bd07/build/superbuild/paraview/src/VTK/IO/Image/vtkNrrdReader.cxx, line 401
vtkPNrrdReader (0x7fbe23649220): Unsupported encoding: gzip
ERROR: In /Users/kitware/dashboards/buildbot-slave/8275bd07/build/superbuild/paraview/src/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784
vtkPVCompositeDataPipeline (0x7fbe227f98d0): Algorithm vtkPNrrdReader(0x7fbe23649220) returned failure for request: vtkInformation (0x7fbe227f99e0)
Modified Time: 211881
Reference Count: 1
Registered Events: (none)
It should be a very simple thing to add. The NRRD library can build gzip support and ITK should have support for gzipped nrrds. See e.g. https://itk.org/Wiki/ITK/File_Formats
Greg Fleishman commented
I believe ITK does support gzip encoded NRRD files - I open such files in ITK-SNAP, ANTs, and PY's GREEDY registration library all the time. The same files fail with this error in Paraview.