collage(img, tiles = samples, size = 10)
image to process
tiles to use, e.g. samples
number of pixels, each square of size times size is replaced by the closest tile
## Not run:
img <- sample_image()
collage( file = img, size = 10)
## End(Not run)
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.