The following code only ever generates blank PNGs (of the correct dimension):
let chars = "FOO".chars().collect::<Vec<char>>();
let captcha = captcha.set_chars(&chars).view(220, 120);
// do something useful with captcha.as_base64()
Everything seems to work, no error message. Here's what I get when I print the supported_chars:
The following code only ever generates blank PNGs (of the correct dimension):
Everything seems to work, no error message. Here's what I get when I print the
supported_chars
:Any idea what may be going wrong?