Vips.Image.new_matrix_from_array (original) (raw)
Constructor
VipsImagenew_matrix_from_array
Declaration [src]
VipsImage*
vips_image_new_matrix_from_array (
int width,
int height,
const double* array,
int size
)
Parameters
width
Type: int
Image width.
height
Type: int
Image height.
array
Type: An array of double
Array of elements.
| The length of the array is specified in the size argument. |
|---|
| The data is owned by the caller of the function. |
size
Type: int
Number of elements.
Return value
The caller of the function takes ownership of the data, and is responsible for freeing it.