Method: Vips::Image#zoom

Defined in:
lib/vips8/methods.rb

#zoom(xfac, yfac, opts = {}) ⇒ Vips::Image

Zoom an image.

Parameters:

  • xfac (Integer)

    Horizontal zoom factor

  • yfac (Integer)

    Vertical zoom factor

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

    Set of options

Returns:

[View source]

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