Method
VipsImagegetpoint
Declaration [src]
int
vips_getpoint (
VipsImage* in,
double** vector,
int* n,
int x,
int y,
...
)
Description [src]
Reads a single pixel on an image.
The pixel values are returned in vector, the length of the
array in n. You must free the array with g_free() when you are done with it.
See also: vips_draw_point().
| This method is not directly available to language bindings. |
Parameters
vector |
An array of double* |
Output pixel value here. |
|
| The argument will be set by the function. | |
The length of the array is specified in the n argument. | |
| The instance takes ownership of the data, and is responsible for freeing it. | |
n |
int* |
Length of output vector. |
|
| The argument will be set by the function. | |
x |
int |
Position to read. |
|
y |
int |
Position to read. |
|
... |
|
|