rotate | R Documentation |
rotate
rotates an image in multiples of 90 degrees.
rotate(image, rotation = "CLOCKWISE", target = "new")
image |
An |
rotation |
A character string indicating the desired rotation:
|
target |
The location where the results should be stored. It can take 3 values:
|
If target="new"
, the function returns an Image
object. If target
is an Image
object, the function
returns nothing and modifies that Image
object in place.
Simon Garnier, garnier@njit.edu
rotateScale
img <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
img_rotated <- rotate(img)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.