Callbacks¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- Vips.ArgumentClassMapFn(object_class, pspec, argument_class, a, b)¶
- Parameters:
object_class (
Vips.ObjectClass) –pspec (
GObject.ParamSpec) –argument_class (
Vips.ArgumentClass) –
- Return type:
- Vips.ArgumentMapFn(object, pspec, argument_class, argument_instance, a, b)¶
- Parameters:
object (
Vips.Object) –pspec (
GObject.ParamSpec) –argument_class (
Vips.ArgumentClass) –argument_instance (
Vips.ArgumentInstance) –
- Return type:
- Vips.ClassMapFn(cls, a)¶
- Parameters:
cls (
Vips.ObjectClass) –
- Return type:
- Vips.GenerateFn(out, seq, a, b, stop)¶
- Parameters:
out (
Vips.Region) –Vips.Regionto fillstop (
bool) – set this to stop processing
- Returns:
0 on success, -1 on error.
- Return type:
Fill out->valid with pixels. seq contains per-thread state, such as the input regions. Set stop to
Trueto stop processing.See also: vips_image_generate(), vips_stop_many().
- Vips.ImageMapFn(image, name, value, a)¶
- Parameters:
image (
Vips.Image) –name (
str) –value (
GObject.Value) –
- Return type:
- Vips.InterpolateMethod(interpolate, out, in_, x, y)¶
- Parameters:
interpolate (
Vips.Interpolate) – the interpolatorin (
Vips.Region) – read source pixels from herex (
float) – interpolate value at this positiony (
float) – interpolate value at this position
An interpolation function. It should read source pixels from in with VIPS_REGION_ADDR(), it can look left and up from (x, y) by window_offset pixels and it can access pixels in a window of size window_size.
The interpolated value should be written to the pixel pointed to by out.
See also:
Vips.InterpolateClass.
- Vips.ObjectSetArguments(object, a, b)¶
- Vips.OperationBuildFn(object)¶
- Parameters:
object (
Vips.Object) –- Return type:
- Vips.SListFold2Fn(item, a, b, c)¶
- Vips.SListMap2Fn(item, a, b)¶
- Vips.SListMap4Fn(item, a, b, c, d)¶
- Vips.StartFn(out, a, b)¶
- Parameters:
out (
Vips.Image) – image being calculated
- Returns:
a new sequence value
- Return type:
Start a new processing sequence for this generate function. This allocates per-thread state, such as an input region.
See also: vips_start_one(), vips_start_many().
- Vips.StopFn(seq, a, b)¶
- Parameters:
- Returns:
0 on success, -1 on error.
- Return type:
Stop a processing sequence. This frees per-thread state, such as an input region.
See also: vips_stop_one(), vips_stop_many().
- Vips.TypeMap2Fn(type, a, b)¶