imdraw | R Documentation |
Draw image on another image
imdraw(im, sprite, x = 1, y = 1, z = 1, opacity = 1)
im |
background image |
sprite |
sprite to draw on background image |
x |
location |
y |
location |
z |
location |
opacity |
transparency level (default 1) |
Simon Barthelme
imager.combine, for different ways of combining images
im <- load.example("parrots")
boats.small <- imresize(boats,.5)
#I'm aware the result is somewhat ugly
imdraw(im,boats.small,x=400,y=10,opacity=.7) %>% plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.