Method: Vips::Image#draw_smudge

Defined in:
lib/vips8/methods.rb

#draw_smudge(left, top, width, height, opts = {}) ⇒ Vips::Image

Blur a rectangle on an image.

Parameters:

  • left (Integer)

    Rect to fill

  • top (Integer)

    Rect to fill

  • width (Integer)

    Rect to fill

  • height (Integer)

    Rect to fill

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

    Set of options

Returns:


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