View Issue Details

IDProjectCategoryView StatusLast Update
0000311fileGeneralpublic2022-02-14 16:51
Reporterylep Assigned Tochristos  
Status resolvedResolutionfixed 
Fixed in Version5.42 
Summary0000311: New magic for the NIfTI neuroimaging file format
DescriptionI would like to propose the attached magic rules for inclusion, which are for identifying files in NIfTI format. NIfTI is a widely used format for image storage and exchange in the neuroimaging community, see

I went beyond mere identification of the file type, and implemented rules for printing some high-level metadata (image size, resolution, datatype, etc.) which I find really useful, but I would understand if you think it is too much to include in the main database.

Test files can be found at the links below:



2022-01-21 16:28


nifti.magic (4,992 bytes)


2022-02-14 16:51

manager   ~0003695

Added, thanks!

Issue History

Date Modified Username Field Change
2022-01-21 16:28 ylep New Issue
2022-01-21 16:28 ylep File Added: nifti.magic
2022-01-21 16:28 ylep Tag Attached: magic
2022-02-14 16:51 christos Assigned To => christos
2022-02-14 16:51 christos Status new => assigned
2022-02-14 16:51 christos Status assigned => resolved
2022-02-14 16:51 christos Resolution open => fixed
2022-02-14 16:51 christos Fixed in Version => 5.42
2022-02-14 16:51 christos Note Added: 0003695