class

Vips::TargetCustom

Inherits Vips::Target / Vips::Connection / Vips::VipsObject / Vips::GObject / Reference / Object

Target you can connect handlers to implement behavior.

Constructors

Instance methods

on_finish

The block is executed at the end of write. It should do any necessary finishing action, such as closing a file or flushing IO

Source
on_write

The block is executed to write data to the target. The interface is exactly as IO::write, ie. it should write the bytes and return the number of bytes written.

Source