title: Flip Nifti images (.nii)
body: <p>I am loading CT scan nifti (.nii) images using XTK. I want to modify the default orientation of images and flip them, for example up/down or left/right before rendering (onShowtime). So, how can I get the default orientation and then how can I change it?</p>
  
  <p><img src="https://i.stack.imgur.com/IUoDh.png" alt="enter image description here"></p>
  
  <p>Currently, I am using xtk.js since there is a bug in xtk_edge.js possibly in .nii parser. (Uncaught RangeError: Invalid array length)</p>