Method: Magick::Image#sketch

Defined in:
ext/RMagick/rmimage.cpp

#sketch(radius = 0.0, sigma = 1.0, angle = 0.0) ⇒ Magick::Image

Simulates a pencil sketch. For best results start with a grayscale image.

Returns a new image.

Parameters:

  • radius (Numeric) (defaults to: 0.0)

    The radius

  • sigma (Numeric) (defaults to: 1.0)

    The standard deviation

  • angle (Numeric) (defaults to: 0.0)

    The angle (in degrees)

Returns:

See Also:



13295
13296
13297
13298
13299
13300
# File 'ext/RMagick/rmimage.cpp', line 13295

VALUE
Image_sketch(int argc, VALUE *argv, VALUE self)
{
    rm_check_destroyed(self);
    return motion_blur(argc, argv, self, GVL_FUNC(SketchImage));
}