Vips.Progress

Fields

Name

Type

Access

Description

eta

int

r/w

Estimated seconds of computation left

im

Vips.Image

r

npels

int

r/w

Number of pels calculated so far

percent

int

r/w

Percent complete

run

int

r/w

Time we have been running

start

GLib.Timer

r/w

Start time

tpels

int

r/w

Number of pels we expect to calculate

Methods

class

set (progress)

Details

class Vips.Progress

A structure available to eval callbacks giving information on evaluation progress. See Vips.Image ::eval.

classmethod set(progress)
Parameters:

progress (bool) – True to enable progress messages

If set, vips will print messages about the progress of computation to stdout. This can also be enabled with the –vips-progress option, or by setting the environment variable VIPS_PROGRESS.