Description Usage Arguments Details Value
gboy()
attempts to simulate how an image would look if displayed on the original (1989) Game Boy screen.
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 to create a fill gradient (passed to |
By default, images are cropped (centered) to maintain the original Game Boy screen aspect ratio and pixel numbers (height/width = 140/160).
A ggplot2 plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.