Write a 3D data object to an AmiraMesh format file
The image data to write (an im3d, or capable of being interpreted as such)
Character vector describing a single file
Encoding of the data. NB "raw" and "binary" are synonyms.
Data type to write to disk
Endianness of data block. Defaults to current value of
Whether to write a separate detached nrrd header next to the AmiraMesh file allowing it to be opened by a NRRD reader. See details.
Note that only
'text' format data can
accommodate a detached NRRD format header since Amira's HxZip format is
subtly different from NRRD's gzip encoding. There is a full description
of the detached NRRD format in the help for