Vips.GInputStream

g GObject.GInterface GObject.GInterface Gio.Seekable Gio.Seekable GObject.GInterface->Gio.Seekable GObject.Object GObject.Object Gio.InputStream Gio.InputStream GObject.Object->Gio.InputStream Vips.GInputStream Vips.GInputStream Gio.InputStream->Vips.GInputStream Gio.Seekable->Vips.GInputStream

Subclasses:

None

Methods

Inherited:

Gio.InputStream (19), GObject.Object (37), Gio.Seekable (5)

Structs:

GObject.ObjectClass (5)

class

new_from_source (source)

Virtual Methods

Inherited:

Gio.InputStream (9), GObject.Object (7), Gio.Seekable (5)

Properties

Name

Type

Flags

Short Description

input

Vips.Source

r/w/co

Stream to wrap

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gio.InputStream

r

source

Vips.Source

r

Class Details

class Vips.GInputStream(**kwargs)
Bases:

Gio.InputStream, Gio.Seekable

Abstract:

No

Structure:

Vips.GInputStreamClass

classmethod new_from_source(source)
Parameters:

source (Vips.Source) – vips source to wrap

Returns:

a new [class`Gio`.InputStream]

Return type:

Gio.InputStream

Create a new [class`Gio`.InputStream] wrapping a [class`Source`]. This is useful for loaders like SVG and PDF which support [class`Gio`.InputStream] methods.

::: seealso [ctor`SourceGInputStream`.new]

Property Details

Vips.GInputStream.props.input
Name:

input

Type:

Vips.Source

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Stream to wrap