Constructor
VipsImagenew_from_image
Declaration [src]
VipsImage*
vips_image_new_from_image (
VipsImage* image,
const double* c,
int n
)
Description [src]
Creates a new image with width, height, format, interpretation, resolution
and offset taken from image, but with number of bands taken from n and the
value of each band element set from c.
See also
Parameters
image-
Type:
VipsImageImage to copy.
The data is owned by the caller of the function. c-
Type: An array of
doubleArray of constants.
The length of the array is specified in the nargument.The data is owned by the caller of the function. n-
Type:
intNumber of constants.