Method

VipsImagevipssave

Declaration [src]

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

Description [src]

Write in to filename in VIPS format.

::: seealso vips_vipsload().

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.