[magick-users] Generate Yahoo's Captcha like graphic?

howard chen howachen at gmail.com
Mon Jan 1 06:09:53 CST 2007


On 1/1/07, Jørn Dahl-Stamnes <im.user at dahl-stamnes.net> wrote:
> On Monday 01 January 2007 10:05, howard chen wrote:
> > such as the one like this:
> >
> > https://ab.login.yahoo.com/img/ZtfKKOVZFenbN32bIXlEcThdwGPkPbTgTTx.Jembo0f0
> >U3oUXhYv800GBqXa5nJpqTwNoaeLlTyorA--.jpg
> >
> > is it possible to generate using IM ?
>
> I'm making something like it by using a script:
>
> #!/bin/sh
>
> convert -size 200x120 xc:lightblue -font Bookman-DemiItalic -pointsize 32
> -fill blue \
> -draw "text 10,20 '$1'" \
> -fill yellow -draw "path 'M 5,5 L 135,5 M 5,10 L 135,10 M 5,15 L 135,15'" \
> -trim test.gif
> convert -wave 4x70 -swirl 10 test.gif $2
>
> --
> Jørn Dahl-Stamnes
> homepage: http://www.dahl-stamnes.net/dahls/
>
> _______________________________________________
> Magick-users mailing list
> Magick-users at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>

Hello, what are the test.gif & the 2nd argument to your script?

thanks.



More information about the Magick-users mailing list