The dinifti program converts MRI images stored in DICOM format to NIfTI format. The program can convert single files, a list of files or a whole directory. If any of the input files are not in DICOM format, an error message will be printed, but the program will continue.