Vips::Source
Inherits Vips::Connection / Vips::VipsObject / Vips::GObject / Reference / Object
Input connection. For example
source = Vips::Source.new_from_file("k2.jpg")
image = Vips::Image.new_from_source(source)
Class methods
new_from_descriptor(descriptor : Int)
Create a new source from a file descriptor. File descriptors are small integers, for example 0 is stdin.
Pass sources to Image.new_from_source to load images from
them.
Instance methods
finalize
Source