int
vips_shrinkv (
VipsImage* in,
VipsImage** out,
int vshrink,
...
)
Description [src]
Shrink in
vertically by an integer factor.
Each pixel in the output is the average of the corresponding column of vshrink
pixels in the input.
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.
Optional arguments
ceil
: gboolean
, round-up output dimensionsThis method is not directly available to language bindings.
Parametersout
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: int
Vertical shrink.
...
Type:
NULL
-terminated list of optional named arguments.
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