Method

VipsImagesequential

Declaration [src]

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

Description [src]

This operation behaves rather like vips_copy() between images in and out, except that it checks that pixels on in are only requested top-to-bottom. This operation is useful for loading file formats which are strictly top-to-bottom, like PNG.

tile_height can be used to set the size of the tiles that vips_sequential() uses. The default value is 1.

::: tip “Optional arguments” * tile_height: gint, height of cache strips

::: seealso vips_linecache(), vips_tilecache().

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.