class Vips::SourceStream

Overview

Source connected to a readable IO

Defined in:

vips/source.cr

Class Method Summary

Instance methods inherited from class Vips::SourceCustom

finalize finalize, on_read(&block : Bytes -> Int32) on_read, on_seek(&block : Int64, IO::Seek -> Int64) on_seek

Constructor methods inherited from class Vips::SourceCustom

new new

Instance methods inherited from class Vips::Source

finalize finalize

Class methods inherited from class Vips::Source

new_from_descriptor(descriptor : Int) new_from_descriptor, new_from_file(filename : String) new_from_file, new_from_memory(data : String | Bytes | IO) new_from_memory

Instance methods inherited from class Vips::Connection

filename : String | Nil filename, nick : String | Nil nick

Instance methods inherited from class Vips::VipsObject

get(name : String) get, get_blurb(name : String) get_blurb, get_description get_description, get_pspec(name : String) : LibVips::GParamSpec | Nil get_pspec, get_typeof(name : String) get_typeof, post_close(&block : -> ) post_close, print_all print_all, set(gtype, name, value)
set(options : String)
set

Instance methods inherited from class Vips::GObject

finalize finalize, get(name : String, gval : GValue) get, object_ref object_ref, ref_count ref_count, release_handle release_handle, set(name : String, gval : GValue) set, signal_connect(signal : String, callback : Proc, data : Pointer(Void) = Pointer(Void).null) : LibVips::Gulong signal_connect, signal_disconnect(handler_id : LibVips::Gulong)
signal_disconnect(func : Proc, data : Pointer(Void) = Pointer(Void).null)
signal_disconnect(data : LibVips::Gpointer)
signal_disconnect

Class Method Detail

def self.new_from_stream(io : IO) #

[View source]