Description Usage Arguments Value Author(s) Examples
This function pads an image with specified width and height.
1 | padding(img, w, h = w)
|
img |
An image of |
w, h |
Width and height of padding spaces. |
Returns a padded image in Image
class.
Yuichiro Hourai, yhourai@gmail.com
Takeo Katsuki, takeo.katsuki@gmail.com
1 2 3 | motor <- readImage(system.file("images/motorcycle.jpg", package="RImageBook"))
motorpad <- padding(motor, 20, 10)
display(motorpad)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.