Function
VipsArrayImagenew
Declaration [src]
VipsArrayImage*
vips_array_image_new (
VipsImage** array,
int n
)
Description [src]
Allocate a new array of images and copy array
into it. Free with vips_area_unref().
The images will all be reffed by this function. They will be automatically unreffed for you by vips_area_unref().
Add an extra NULL element at the end, handy for eg.
vips_image_pipeline_array()
etc.
See also: VipsArea
.
Parameters
array |
An array of VipsImage* |
Array of |
|
The length of the array is specified in the n argument. | |
The data is owned by the caller of the function. | |
n |
int |
Number of images. |
Return value
Returns: | VipsArrayImage |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |