Re: [Tutor] code to generate my own text captchas

2012-10-25 Thread Alan Gauld

On 24/10/12 22:05, Tsila Hassine wrote:

Hello all,
I am looking for simple python code that will take a given string and
distort it, captcha like. it is for artistic purposes, so no
verification required. I just need the image q text distortion code.


A Google search for 'python captcha generator' threw up several options 
including one on pypi:


http://pypi.python.org/pypi/collective.captcha


I don't know if it does exactly what you want but there are others.

HTH



--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] code to generate my own text captchas

2012-10-24 Thread Steven D'Aprano

On 25/10/12 08:05, Tsila Hassine wrote:

Hello all,
I am looking for simple python code that will take a given string and
distort it, captcha like.


You won't find any such simple code, because distorting images is not
simple.

This is a mailing list for learning how to program in the Python
programming language, not for asking random questions that may have some
vague connection to Python. For specialist questions like image distortion,
you are better off asking on more specialist mailing lists.

Start off by using the search engine of your choice, such as Duck Duck Go,
Bing, Blekko, Google, Yahoo or Million Short, to search for Python
libraries for captchas and image manipulation. Then ask your questions on
the specific mailing list for that library, if it has one.

If all else fails, try asking on the general Python mailing list, which
has a lot more people, and you might get lucky and find somebody who can
answer your question. Either:

email: python-l...@python.org
news: comp.lang.python

To get you started, there are at least two powerful image manipulation
libraries for Python, PIL and PythonMagickWand.


http://pypi.python.org/pypi/PIL
http://public.procoders.net/PythonMagickWand/docs/html/index.html

PythonMagickWand is a wrapper around ImageMagick, so this page on
image distortions may help:

http://www.imagemagick.org/Usage/distorts/

Good luck!



P.S. I found those links with literally fifteen seconds of googling. If
you don't make any effort to search out your own information first,
you almost certainly will not be taken seriously with your questions.



--
Steven
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] code to generate my own text captchas

2012-10-24 Thread Modulok
On 10/24/12, Tsila Hassine  wrote:
> Hello all,
> I am looking for simple python code that will take a given string and
> distort it, captcha like. it is for artistic purposes, so no verification
> required. I just need the image q text distortion code.
> Thanks!!!
> tsila

You might look into writing a shell script or even python script wrapped around
ImageMagick.

-Modulok-
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] code to generate my own text captchas

2012-10-24 Thread Mark Lawrence

On 24/10/2012 22:05, Tsila Hassine wrote:

Hello all,
I am looking for simple python code that will take a given string and
distort it, captcha like. it is for artistic purposes, so no verification
required. I just need the image q text distortion code.
Thanks!!!
tsila



I'll send you some code in exchange for a cheque for £1000 sterling, 
payable in advance :)  If you can't afford my services I understand that 
there are several modern tools called "search engines" that help you 
find this sort of thing.  Do you need a tutorial on how to use one of these?


--
Cheers.

Mark Lawrence.

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] code to generate my own text captchas

2012-10-24 Thread Tsila Hassine
Hello all,
I am looking for simple python code that will take a given string and
distort it, captcha like. it is for artistic purposes, so no verification
required. I just need the image q text distortion code.
Thanks!!!
tsila

-- 



--
missdata.org
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor