View source: R/interactive_oilpaint.R
interactive_oilpaint | R Documentation |
Using image_oilpaint of 'magick' interactively. radius is a parameter of image_oilpaint. See reference manual of 'magick' for detail.
interactive_oilpaint(
image,
range_max = 10,
resolution = 0.1,
return_param = FALSE,
scale
)
image |
a magick image object |
range_max |
define maximum in slider. must be positive. |
resolution |
resolution of slider |
return_param |
If return_param is TRUE, returns value of radius. If return_param is FALSE, returns a magick image object. |
scale |
geometry to be passed to image_scale function of magick package. image is scaled just for preview and result image is not scaled if scale is given. |
a magick image object or value of radius
Shota Ochi
if (interactive())
{
interactive_oilpaint(wizard)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.