View source: R/interactive_composite.R
interactive_composite | R Documentation |
Using image_composite of 'magick' interactively. offset is a parameter of image_composite. see reference manual of 'magick' for detail.
interactive_composite(
image,
composite_image,
operator = "atop",
compose_args = "",
resolution = 1,
return_param = FALSE,
scale
)
image |
a magick image object |
composite_image |
composition image |
operator |
string with a composite operator |
compose_args |
additional arguments needed for some composite operations |
resolution |
resolution of slider |
return_param |
If return_param is TRUE, returns values of offset. 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. |
magick a image object or values of offset
Shota Ochi
if (interactive())
{
interactive_composite(wizard, rose)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.