Method

VipsSourcerewind

Declaration [src]

int
vips_source_rewind (
  VipsSource* source
)

Description [src]

Rewind the source to the start.

You can’t always do this after the pixel decode phase starts — for example, pipe-like sources can’t be rewound.

Return value

Type: int

0 on success, or -1 on error.