Mif to nifti conversion strides

Hello,

I am converting dwi.nii to dwi.mif then back to dwi.nii. I am also converting t1.nii to t1.mif, finding a 5tt.mif from that, then converting the 5tt.mif to a 5tt.nii.

With all these conversion, I am wanting to make sure that my strides are all in order. I know that nifti will always have strides = 1234, however converting nifti’s to mif will result sometimes in changed affines and different strides. Will converting the mif back to nifti also convert the strides back to 1234, or will the new nifti file have the mif strides?

Best,
Hank