It’s called a legacy file format for a reason :-). I suggest you use the appropriate XML readers to start (vtkXMLImageDataReader). There are probably other image data readers as well that may be faster / better suit your application needs.
It’s called a legacy file format for a reason :-). I suggest you use the appropriate XML readers to start (vtkXMLImageDataReader). There are probably other image data readers as well that may be faster / better suit your application needs.