Method: Vips::Image.matrixload

Defined in:
lib/vips8/methods.rb

.matrixload(filename, opts = {}) ⇒ Vips::Image, Hash<Symbol => Object>

Load matrix from file.

Parameters:

  • filename (String)

    Filename to load from

  • opts (Hash) (defaults to: {})

    Set of options

Options Hash (opts):

  • :disc (Boolean)

    Open to disc

  • :access (Vips::Access)

    Required access pattern for this file

  • :flags (Vips::ForeignFlags)

    Output -- Flags for this file

Returns:

  • (Vips::Image, Hash<Symbol => Object>)

    Output image, Hash of optional output items

[View source]

# File 'lib/vips8/methods.rb', line 838