mat2img | R Documentation |
Generalized version of magick::image_read()
which also
allows to read numerical objects.
mat2img(img, density = NULL, depth = NULL, strip = FALSE, alpha = 1)
img |
Image (e.g., image path) to be read, or numerical object (e.g., matrix, array)
see |
density |
see |
depth |
see |
strip |
see |
alpha |
(optional) Scalar indicating the trasnparency of the (alpha). If the object already contains an alpha, than it will not be overwritten. Default is '1'. |
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.