aces / brainbrowser

Web-based visualization tools for neurological data.
https://brainbrowser.cbrain.mcgill.ca/
GNU Affero General Public License v3.0
351 stars 122 forks source link

Using compressed files with viewer.loadVolumes #356

Closed taylersindhu closed 4 years ago

taylersindhu commented 4 years ago

Is it possible to load compressed files (i.e. .mgz or .nii.gz) into the function viewer.loadVolumes instead of .mgh or .nii files?

I see that when using viewer.loadVolume (singular), the user can load a .mgz or .nii.gz file, so I think it is possible with some modification.

Thanks for your help!

taylersindhu commented 4 years ago

Solved with logic added to the loader.js file.