ENH: Update NewNifti to use new znzlib API
znzlib is being updated to support more compression formats (see znzlib!3 (merged)) - as part of this there are some minor API changes. This MR updates NewNifti accordingly.
There are some minor API changes, but there are very few direct users of NewNifti so updating the rest of the code base should be straightforward:
-
NiftiIO::fileIO::fileIO()bool use_compressionparameter replaced withznz::znzFormat format. -
NiftiIO::saveImagebool useCompressionparameter replaced withznz::znzFormat format. -
NiftiIO::fileIO::operator=changed from accepting afileIOinstance by value to accepting afileIOrvalue
Edited by Paul McCarthy