Method
VipsRegionshrink_method
Declaration [src]
int
vips_region_shrink_method (
VipsRegion* from,
VipsRegion* to,
const VipsRect* target,
VipsRegionShrink method
)
Description [src]
Write the pixels target in to from the x2 larger area in from.
Non-complex uncoded images and LABQ only.
method selects the method used to do the 2x2 shrink.
::: seealso
vips_region_copy().
Parameters
to |
VipsRegion |
Destination region. |
|
| The argument will be modified by the function. | |
| The instance takes ownership of the data, and is responsible for freeing it. | |
target |
VipsRect |
|
|
| The data is owned by the caller of the function. | |
method |
VipsRegionShrink |
Method to use when generating target pixels. |