A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://libvips.github.io/libvips/API/current/method.Image.reducev.html below:

Vips.Image.reducev

Method VipsImagereducev Declaration [src]
int
vips_reducev (
  VipsImage* in,
  VipsImage** out,
  double vshrink,
  ...
)
Description [src]

Reduce in vertically by a float factor.

The pixels in out are interpolated with a 1D mask generated by kernel.

Set gap to speed up reducing by having vips_shrinkv() to shrink with a box filter first. The bigger gap, the closer the result to the fair resampling. The smaller gap, the faster resizing. The default value is 0.0 (no optimization).

This is a very low-level operation: see vips_resize() for a more convenient way to resize images.

This operation does not change xres or yres. The image resolution needs to be updated by the application.

This method is not directly available to language bindings.

Parameters
out

Type: VipsImage

Output image.

The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it.
vshrink

Type: double

Vertical reduce.

...

Type: 

NULL-terminated list of optional named arguments.

Return value

Type: int

0 on success, -1 on error.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4