Class
VipsConnection
Description [src]
abstract class Vips.Connection : Vips.Object {
parent_object: VipsObject
}
An abstract base class representing a source or sink of bytes.
It can be connected to a network socket, for example, or perhaps
a Node.js stream, or to an area of memory. This allows it to support
operations like JPEG loading, see for example vips_jpegload_source().
Subclass to add other input sources. Use VipsSourceCustom and
VipsTargetCustom to make a source or target with action signals.
These classes provide action signals such as:
VipsSourceCustom::readfor reading data from a custom source.VipsSourceCustom::seekfor seeking within a data stream.VipsTargetCustom::writefor writing data to a custom target.
Instance methods
vips_connection_filename
vips_connection_nick
Methods inherited from VipsObject (27)
Methods inherited from GObject (42)
Properties
Vips.Connection:descriptor
Vips.Connection:filename
Properties inherited from VipsObject (2)
Signals
Signals inherited from VipsObject (4)
Vips.Object::close
The ::close signal is emitted once during object close. The object is dying and may not work.
Vips.Object::postbuild
The ::postbuild signal is emitted once just after successful object construction. Return non-zero to cause object construction to fail.
Vips.Object::postclose
The ::postclose signal is emitted once after object close. The object pointer is still valid, but nothing else.
Vips.Object::preclose
The ::preclose signal is emitted once just before object close starts. The object is still alive.
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.