Various tools to inspect and reorient nifti files:
nii2snapshot.py creates an quick overview of the contents of a nifti file.
nii2svg.py (incomplete) converts a nifti files into a series of png slices, ready for processing by an png2svg converter.
nii_reorient.py swaps dimensions of a nifti file that violates the standard by permuting the affine matrices stored in the header.
common_nifti_errors.txt describes common violations of the Nifti1 standard.