| imgPadding {biOps} | R Documentation |
This function returns an imagedata padded to the given dimensions, leaving the input imagedata in the center of the result.
imgPadding(imgdata, n, m = n)
imgdata |
The image |
n |
The new width |
m |
The new height |
return an imagedata
## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
t <- imgPadding(x, 350)
## End(Not run)