Method

VipsImagejp2ksave_target

Declaration [src]

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

Description [src]

Optional arguments:

  • Q: %gint, quality factor
  • lossless: %gboolean, enables lossless compression
  • tile_width: %gint for tile size
  • tile_height: %gint for tile size
  • subsample_mode: VipsForeignSubsample, chroma subsampling mode

As vips_jp2ksave(), but save to a target.

See also: vips_jp2ksave(), vips_image_write_to_target().

This method is not directly available to language bindings.

Parameters

target

Type: VipsTarget

Save image to this target.

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

Type: 

NULL-terminated list of optional named arguments.

Return value

Type: int

0 on success, -1 on error.