Method: Vips::Image.system

Defined in:
lib/vips8/methods.rb

.system(cmd_format, opts = {}) ⇒ nil, Hash<Symbol => Object>

Run an external command.

Parameters:

  • cmd_format (String)

    Command to run

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

    Set of options

Options Hash (opts):

  • :in (Array<Image>)

    Array of input images

  • :in_format (String)

    Format for input filename

  • :out_format (String)

    Format for output filename

  • :out (Vips::Image)

    Output -- Output image

  • :log (String)

    Output -- Command log

Returns:

  • (nil, Hash<Symbol => Object>)

    Hash of optional output items

[View source]

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