Method

VipsImageheifsave_target

Declaration [src]

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

Description [src]

As vips_heifsave(), but save to a target.

::: tip “Optional arguments” * Q: gint, quality factor * bitdepth: gint, set write bit depth to 8, 10, or 12 bits * lossless: gboolean, enable lossless encoding * compression: VipsForeignHeifCompression, write with this compression * effort: gint, encoding effort * subsample_mode: VipsForeignSubsample, chroma subsampling mode * encoder: VipsForeignHeifEncoder, select encoder to use * tune: gchararray, encoder tuning parameters

::: seealso vips_heifsave(), vips_image_write_to_target().

Parameters

target VipsTarget
 

Save image to this target.

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

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.