Loading a nii.gz from disk works, however the loadFromURL
path goes through a different code path which only supports
uncompressed files. This adds support for loading nii.gz files
with nii_url as well as nii_file without having to decompress
and stream the file server side using a similar try/catch block
to that done in loadFromFile.
Loading a nii.gz from disk works, however the loadFromURL path goes through a different code path which only supports uncompressed files. This adds support for loading nii.gz files with nii_url as well as nii_file without having to decompress and stream the file server side using a similar try/catch block to that done in loadFromFile.