From 0944c12e55d740eb48ef69cbd4cb48e3299ad79c Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 5 Dec 2019 15:53:26 +0000 Subject: [PATCH] more doc polish --- lib/vips.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/vips.rb b/lib/vips.rb index e1e24eff..4dc09868 100644 --- a/lib/vips.rb +++ b/lib/vips.rb @@ -212,6 +212,9 @@ module GObject # memory buffers, create images that wrap C-style memory arrays, or make images # from constants. # +# Use {Streami} and {Image.new_from_stream} to load images from any data +# source, for example URIs. +# # The next line: # # ```ruby @@ -253,6 +256,9 @@ module GObject # suffix. You can also write formatted images to memory buffers, or dump # image data to a raw memory array. # +# Use {Streamo} and {Image#write_to_stream} to write formatted images to +# any data sink, for example URIs. +# # # How it works # # The binding uses [ruby-ffi](https://github.com/ffi/ffi) to open the libvips @@ -469,7 +475,7 @@ module GObject # ``` # # The `:eval` signal will fire for every tile that is processed. You can stop -# progress with Image#set_kill and processing will end with an exception. +# progress with {Image#set_kill} and processing will end with an exception. # # # Overloads #