Vips.ForeignLoad

g GObject.Object GObject.Object Vips.Object Vips.Object GObject.Object->Vips.Object Vips.Foreign Vips.Foreign Vips.ForeignLoad Vips.ForeignLoad Vips.Foreign->Vips.ForeignLoad Vips.Operation Vips.Operation Vips.Object->Vips.Operation Vips.Operation->Vips.Foreign

Subclasses:

None

Methods

Inherited:

Vips.Foreign (11), Vips.Operation (4), Vips.Object (27), GObject.Object (37)

Structs:

Vips.ObjectClass (1), GObject.ObjectClass (5)

Virtual Methods

Inherited:

Vips.Operation (2), Vips.Object (9), GObject.Object (7)

do_get_flags ()

do_header ()

do_load ()

Properties

Inherited:

Vips.Object (2)

Name

Type

Flags

Short Description

access

Vips.Access

r/w

Required access pattern for this file

disc

bool

r/w

Open to disc

fail

bool

r/w

Fail on first warning

fail-on

Vips.FailOn

r/w

Error level to fail on

flags

Vips.ForeignFlags

r/w

Flags for this file

memory

bool

r/w

Force open via memory

out

Vips.Image

r/w

Output image

revalidate

bool

r/w

Don’t use a cached result for this operation

sequential

bool

r/w

Sequential read only

Signals

Inherited:

Vips.Operation (1), Vips.Object (4), GObject.Object (1)

Fields

Inherited:

Vips.Operation (1), Vips.Object (4), GObject.Object (1)

Name

Type

Access

Description

access

Vips.Access

r

disc

bool

r

error

bool

r

fail

bool

r

fail_on

Vips.FailOn

r

flags

Vips.ForeignFlags

r

memory

bool

r

nocache

bool

r

out

Vips.Image

r

parent_object

Vips.Foreign

r

real

Vips.Image

r

revalidate

bool

r

sequential

bool

r

Class Details

class Vips.ForeignLoad(**kwargs)
Bases:

Vips.Foreign

Abstract:

Yes

Structure:

Vips.ForeignLoadClass

do_get_flags() virtual
Return type:

Vips.ForeignFlags

do_header() virtual
Return type:

int

do_load() virtual
Return type:

int

Property Details

Vips.ForeignLoad.props.access
Name:

access

Type:

Vips.Access

Default Value:

Vips.Access.RANDOM

Flags:

READABLE, WRITABLE

Required access pattern for this file

Vips.ForeignLoad.props.disc
Name:

disc

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Open to disc

Vips.ForeignLoad.props.fail
Name:

fail

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Fail on first warning

Vips.ForeignLoad.props.fail_on
Name:

fail-on

Type:

Vips.FailOn

Default Value:

Vips.FailOn.NONE

Flags:

READABLE, WRITABLE

Error level to fail on

Vips.ForeignLoad.props.flags
Name:

flags

Type:

Vips.ForeignFlags

Default Value:

Vips.ForeignFlags.NONE

Flags:

READABLE, WRITABLE

Flags for this file

Vips.ForeignLoad.props.memory
Name:

memory

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Force open via memory

Vips.ForeignLoad.props.out
Name:

out

Type:

Vips.Image

Default Value:

None

Flags:

READABLE, WRITABLE

Output image

Vips.ForeignLoad.props.revalidate
Name:

revalidate

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Don’t use a cached result for this operation

Vips.ForeignLoad.props.sequential
Name:

sequential

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Sequential read only