Description Usage Arguments Value
gboy_demo()
shows the original (in greyscale), the cropped (in greyscale) and the Game Boy version of the image
1 2 3 4 5 6 7 |
file |
Path to image file or array returned by |
res |
Horizontal resolution of output (default = 160). Vertical resolution will be computed to match the output aspect ratio. Set to NULL for original image horizontal resolution. |
crop |
Should the image be cropped to match the original Game Boy screen aspect ratio (default = TRUE) |
ncols |
The number of 'greenscale' colours to use (default = 4, the original Game Boy specification) |
cols |
The colours used in the fill scale (passed to |
A ggplot2 plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.