Method

VipsImagepngsave_target

Declaration [src]

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

Description [src]

Optional arguments:

  • compression: compression level
  • interlace: interlace image
  • filter: libpng row filter flag(s)
  • palette: enable quantisation to 8bpp palette
  • Q: quality for 8bpp quantisation
  • dither: amount of dithering for 8bpp quantization
  • bitdepth: %gint, set write bit depth to 1, 2, 4, 8 or 16
  • effort: %gint, quantisation CPU effort

As vips_pngsave(), but save to a target.

See also: vips_pngsave(), 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.