Method: Vips::Image#rot

Defined in:
lib/vips8/methods.rb

#rot(angle, opts = {}) ⇒ Vips::Image

Rotate an image.

Parameters:

  • angle (Vips::Angle)

    Angle to rotate image

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

    Set of options

Returns:

[View source]

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