---
name: "gifti_test"
section: "1"
platform: "linux"
package: "gifti-bin"
version: "1.0.9-6+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gifti_test"
---

# gifti\_test(1)

test reading/writing a GIFTI dataset

## NAME

gifti\_test - test reading/writing a GIFTI dataset

## SYNOPSIS

**gifti\_test** \[*...*\]

## OPTIONS

- **-help**

  Show usage help.

- **-gifti\_hist**

  Show giftilib history.

- **-gifti\_ver**

  Show giftilib version.

- **-encoding** TYPE

  Set the data encoding for any output file.

-

  TYPE = ASCII      : ASCII encoding

-

  TYPE = BASE64     : base64 binary

-

  TYPE = BASE64GZIP : base64 compressed binary

- **-gfile** OUTPUT

  Write out dataset as gifti image.

- **-infile** INPUT

  Specify INPUT as the GIFTI dataset to read.

- **-no\_data**

  Do not write out data.

- **-show**

  Show final gifti image.

- **-slist** LEN s0...

  Restrict output to list of length LEN.

- **-verb** VERB

  Set verbose level.

## EXAMPLES

- 1\. read in a GIFTI dataset (verbose, show output?)

  -

  gifti\_test -infile dset.gii

-

  gifti\_test -infile dset.gii -verb 3

-

  gifti\_test -infile dset.gii -show

- 2\. copy a GIFTI dataset (check differences?)

  -

  gifti\_test -infile dset.gii -gfile copy.gii

-

  diff dset.gii copy.gii

- 3\. copy a GIFTI data, but write out only 3 surf indices: 0,4,5

  -

  gifti\_test -infile time\_series.gii -gfile ts3.gii -slist 3 0 4 5

## SEE ALSO

Website: *http://www.nitrc.org/projects/gifti*

## AUTHOR

Richard Reynolds - SSCC, DIRP, NIMH, National Institutes of Health

This manual page was written by Michael Hanke \<michael.hanke@gmail.com\>, for the Debian project (but may be used by others).
