Vips.Image.generate (original) (raw)
Method
VipsImagegenerate
Declaration [src]
int
vips_image_generate (
VipsImage* image,
VipsStartFn start_fn,
VipsGenerateFn generate_fn,
VipsStopFn stop_fn,
void* a,
void* b
)
Parameters
start_fn
Type: VipsStartFn
Start sequences with this function.
generate_fn
Type: VipsGenerateFn
Generate pixels with this function.
stop_fn
Type: VipsStopFn
Stop sequences with this function.
a
Type: void*
User data.
| The argument can be NULL. |
|---|
| The data is owned by the caller of the method. |
b
Type: void*
User data.
| The argument can be NULL. |
|---|
| The data is owned by the caller of the method. |
Return value
Type: int
0 on success, or -1 on error.