Method

VipsImagebandunfold

Declaration [src]

int
vips_bandunfold (
  VipsImage* in,
  VipsImage** out,
  ...
)

Description [src]

Unfold image bands into x axis. Use factor to set how much to unfold by: factor 3, for example, will make the output image three times wider than the input, and with one third as many bands. By default, all bands are unfolded.

::: tip “Optional arguments” * factor: gint, unfold by this factor

::: seealso vips_csvload(), vips_bandfold().

Parameters

out VipsImage
 

Output image.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.