print.captcha | R Documentation |
This function prints the image as a magick-image
object on the screen.
## S3 method for class 'captcha'
print(x, ...)
x |
Captcha object read with |
... |
not used. |
The captcha
object is a list with three elements: $img
, which contains
the image read from the {magick}
package; $lab
, which contains the
image label (by default, NULL
); and $path
, which contains the path
of the image.
The print method gets the $img
element from this list and prints it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.