Method
VipsImageextract_area
Declaration [src]
int
vips_extract_area (
VipsImage* in,
VipsImage** out,
int left,
int top,
int width,
int height,
...
)
Description [src]
Extract an area from an image. The area must fit within in
.
See also: vips_extract_bands(), vips_smartcrop().
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. left
-
Type:
int
Left edge of area to extract.
top
-
Type:
int
Top edge of area to extract.
width
-
Type:
int
Width of area to extract.
height
-
Type:
int
Height of area to extract.
...
-
Type:
NULL
-terminated list of optional named arguments.