Description Usage Arguments Value Examples
This function returns an imagedata padded to the given dimensions, leaving the input imagedata in the center of the result.
1 | imgPadding(imgdata, n, m = n)
|
imgdata |
The image |
n |
The new width |
m |
The new height |
return an imagedata
1 2 3 4 5 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
t <- imgPadding(x, 350)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.