Description Usage Arguments Value Examples
Convert an image to a matrix of ANSI chars
1 |
im |
magick image |
width |
text output width. default: 80 |
font_aspect |
ratio of width to height for the output font. default: 0.45 |
full_colour |
use 24bit colour codes. default: FALSE. Only supported by some terminals |
Character string with ANSI colours
1 2 3 4 5 | ## Not run:
im <- image_read(system.file('img', 'Rlogo.png', package = 'png'))
mat <- im2char(im)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.