Vips.ArrayImage¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
area |
r/w |
Methods¶
class |
|
class |
|
class |
|
|
|
|
Details¶
- class Vips.ArrayImage¶
- classmethod empty()¶
- Returns:
A new
Vips.ArrayImage
.- Return type:
Make an empty image array. Handy with vips_array_image_add() for bindings which can’t handle object array arguments.
See also: vips_array_image_add().
- classmethod new(array)¶
- Parameters:
array ([
Vips.Image
]) – array ofVips.Image
- Returns:
A new
Vips.ArrayImage
.- Return type:
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
None
element at the end, handy for eg. vips_image_pipeline_array() etc.See also:
Vips.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
Vips.ArrayImage
.- Return type:
Make a new
Vips.ArrayImage
, one larger than self, with image appended to the end. Handy withVips.ArrayImage.empty
() for bindings which can’t handle object array arguments.See also:
Vips.ArrayImage.empty
().
- get()¶
- Returns:
array of
Vips.Image
- Return type:
Fetch an image array from a
Vips.ArrayImage
. Useful for language bindings.