Method

VipsImageppmsave_target

Declaration [src]

int
vips_ppmsave_target (
  VipsImage* in,
  VipsTarget* target,
  ...
)

Description [src]

Optional arguments:

  • format: VipsForeignPpmFormat, format to save in
  • ascii: %gboolean, save as ASCII rather than binary
  • bitdepth: %gint, bitdepth to save at

As vips_ppmsave(), but save to a target.

See also: vips_ppmsave().

This method is not directly available to language bindings.

Parameters

target VipsTarget
 

Save image to this target.

 The data is owned by the caller of the function.
...
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.