Vips.ArrayImage¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
area |
r/w |
Methods¶
class |
|
class |
|
class |
|
|
|
|
Details¶
- class Vips.ArrayImage¶
- classmethod empty()¶
- Returns:
A new [struct`ArrayImage`].
- Return type:
Make an empty image array. Handy with [method`ArrayImage`.append] for bindings which can’t handle object array arguments.
::: seealso [method`ArrayImage`.append].
- classmethod new(array)¶
- Parameters:
array ([
Vips.Image]) – array of [class`Image`]- Returns:
A new [struct`ArrayImage`].
- Return type:
Allocate a new array of images and copy array into it. Free with [method`Area`.unref].
The images will all be reffed by this function. They will be automatically unreffed for you by [method`Area`.unref].
Add an extra
NULLelement at the end, handy for eg. [func`Image`.pipeline_array] etc.::: seealso [struct`Area`].
- classmethod new_from_string(string, flags)¶
- Parameters:
string (
str) –flags (
Vips.Access) –
- Return type:
- append(image)¶
- Parameters:
image (
Vips.Image) – add this- Returns:
A new [struct`ArrayImage`].
- Return type:
Make a new [struct`ArrayImage`], one larger than self, with image appended to the end. Handy with [ctor`ArrayImage`.empty] for bindings which can’t handle object array arguments.
::: seealso [ctor`ArrayImage`.empty].
- get()¶
- Returns:
array of [class`Image`]
- Return type:
Fetch an image array from a [struct`ArrayImage`]. Useful for language bindings.