[ejabberd] Implementing CAPTCHA

Evgeny Khramtsov xramtsov at gmail.com
Sun May 13 22:15:57 MSK 2018


Sun, 13 May 2018 15:03:32 -0400
Phil Stracchino <phils at caerllewys.net> wrote:

> On 05/13/18 14:59, Phil Stracchino wrote:
> > I see that convert is part of ImageMagick, so there may be an
> > ImageMagick configuration issue at work.  I'm trying to resolve that
> > right now but so far have not gotten it working.  
> 
> 
> Update:  I've managed to get rid of all the errors except for this
> one:
> 
> minbar:root:~:39 # /usr/lib64/ejabberd-17.04/priv/bin/captcha.sh
> 123456
> > image.png  
> convert: no encode delegate for this image format `XC' @
> error/constitute.c/WriteImage/1171.
> 
> But I have no ides what XC format is, can't determine what
> configuration option to add to enable it, and without it I'm still
> getting a zero-length image.
> 
> 
> 

I cannot help you with this ImageMagick stuff, but you can try
gd-captcha [1]: it's ejabberd compliant and only requires libgd to
compile.

[1] https://github.com/dotdoom/gd-captcha


More information about the ejabberd mailing list