Method

VipsImageheifsave_target

Declaration [src]

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

Description [src]

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

As vips_heifsave(), but save to a target.

See also: vips_heifsave(), vips_image_write_to_target().

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.