Vips.ArrayImage

Fields

Name

Type

Access

Description

area

Vips.Area

r/w

Methods

class

empty ()

class

new (array)

class

new_from_string (string, flags)

append (image)

get ()

Details

class Vips.ArrayImage
classmethod empty()
Returns:

A new Vips.ArrayImage.

Return type:

Vips.ArrayImage

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 of Vips.Image

Returns:

A new Vips.ArrayImage.

Return type:

Vips.ArrayImage

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:
Return type:

Vips.ArrayImage

append(image)
Parameters:

image (Vips.Image) – add this

Returns:

A new Vips.ArrayImage.

Return type:

Vips.ArrayImage

Make a new Vips.ArrayImage, one larger than self, with image appended to the end. Handy with Vips.ArrayImage.empty() for bindings which can’t handle object array arguments.

See also: Vips.ArrayImage.empty().

get()
Returns:

array of Vips.Image

Return type:

[Vips.Image]

Fetch an image array from a Vips.ArrayImage. Useful for language bindings.