Method

VipsImageniftisave

Declaration [src]

int
vips_niftisave (
  VipsImage* in,
  const char* filename,
  ...
)

Description [src]

Write a VIPS image to a file in NIFTI format.

Use the various NIFTI suffixes to pick the nifti save format.

::: seealso vips_image_write_to_file(), vips_niftiload().

Parameters

filename const char*
 

File to write to.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.