Description Usage Arguments Value Examples
View source: R/jpeg-manipulation.R
Convert a colour image to grayscale
1 | grayscale(img)
|
img |
colour image as a 3D array |
matrix corresponding to grayscale image
1 | grayscale(jpeg::readJPEG(system.file("img", "Rlogo.jpg", package="jpeg")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.