Gossamer Forum
Home : General : Perl Programming :

Maybe a Stumper...

Quote Reply
Maybe a Stumper...
Hello,

This may be a really hard question to answer.. but i thought i would ask some of you pros out there..

How do you print on an image ?
For example.. some access couters automatically print the # of hits onto the image every time your site is hit.
(www.thecouter.com)

I assume they are using Perl to do it.. Is this a very tricky operation to perform ?
Or is there a fairly easy way to do it ?

Hope some of you guys can answer this question. Is is something i have been wanting to lean for a long time Smile

Thanx
Drew
Quote Reply
Re: Maybe a Stumper... In reply to
Hi Drew,

Take a look at the GD library. It provides a perl interface to editing images on the fly. You can find it on CPAN, and here's the docs to give you an idea of what it can do:

http://stein.cshl.org/WWW/software/GD/GD.html

Hope this helps,

Alex

Quote Reply
Re: Maybe a Stumper... In reply to
Hello Alex.
Thank YOu very much !
That resource URL you sent me was EXACTLY what i was looking for !

Thanx a bunch !

Drew