Skip to contents

This function prints the image as a magick-image object on the screen.

Usage

# S3 method for captcha
print(x, ...)

Arguments

x

Captcha object read with read_captcha().

...

not used.

Details

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.