If a GIFTI file is compressed, as in .gii.gz, this will decompress the file. This has nothing to do with the encoding WITHIN the file
decompress_gii(file)
file | file name of GIFTI file |
---|
Filename of decompressed GIFTI
if (have_gifti_test_data(outdir = NULL)) {
gii_files = download_gifti_data(outdir = NULL)
outfile = decompress_gii(gii_files[1])
print(outfile)
}