Description Usage Arguments Value
View source: R/image_processing_utils.R
Add canvas to an image of class EBImage
.
1 | add_canvas(x, nrows, ncols, center = T, col = "white")
|
x |
the original image, either of class |
nrows, ncols |
The number of rows and columns of which the image should be enlarged |
center |
should the original picture be centered within the canvas? |
col |
the color of the canvas |
The image with an enlarged canvas in
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.