Description Usage Arguments Value Examples
View source: R/magiceye-to-ggplot.R
Convert an autostereogram raster to a ggplot raster
1 | ggmagiceye(magiceye_raster)
|
magiceye_raster |
Output from |
A ggplot version of
1 2 3 4 5 6 7 8 | # Import a jpeg or png
demo_file <- system.file("extdata", "demo_r.png",
package = "rstereogram", mustWork = TRUE)
demo_image <- png::readPNG(demo_file)
demo_image %>%
image_to_magiceye() %>%
ggmagiceye()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.