In outfile is missing, will overwrite infile

NrrdSave(infile, outfile, format = c("nrrd", "pnm", "text", "vtk", "png",
  "eps"), encoding = ifelse(format == "nrrd", "gzip", "raw"),
  CreateDirs = TRUE, UseLock = FALSE, DryRun = FALSE)

Arguments

infile, outfile

Paths to input and output nrrds

format

(one of 6 supported by unu save, default nrrd)

encoding

(one of 5 supported by unu save, default gz when nrrd)

CreateDirs

Whether to make missing direcories implied by output path

UseLock

Whether to make a lockfile (useful for parallel processing)

DryRun

Return command instead of running it

Value

path to ouput file

See also