Rob Dixon wrote:
Ramprasad A Padmanabhan wrote:

Rob Dixon wrote:

Ramprasad wrote:


I want to create a image containg a string

I am trying to get GD installed on my machine ( linux redhat 7.2 ) but
it gives loads of errors

Is there a simple way I Can create images ( png jpg or gif )


Hi Ram.

It depends what sort of drawing you need to do. The 'Imager' module
may be what you want.

Rob



I want to embed a string in an image like the one yahoo does on its user registration page which asks an user to enter the string on the page in order to prevent an automated script from registering


Imager will certainly let you draw linear 'noise' and add text. But it
will do so much more on top of that that it is a /huge/ module. You will
find this with any generic graphics package and the best way is probably a
bespoke C extension that can create the graphics for you. Imager, like GD,
needs third-party software installing and building, but I found it quite
straightforward. I suggest you try it and, if it causes too much of a
memory hit, then write some custom code.

HTH,

Rob



Thanks for the info


Is there an utility which can do this
I am not bothered if it is a very heavy code , I am not going to use it on the fly at run time , I am just going to keep some pregenerated images



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to