Valhalla Legends Archive

Programming => Web Development => Topic started by: Mesiah / haiseM on June 10, 2003, 03:48 PM

Title: Dynamic Images
Post by: Mesiah / haiseM on June 10, 2003, 03:48 PM
Ever seen the "little guy holding a sign" picture? Well i wanted to try that out with php, so i did, and it works magnificantly! Drawing text onto an image using ImageTTFText() is a great method to creating any dynamic image, along with that you can set transparency, and rotation in degree's, making it very flexible. You can see in my signature how it works, but if you'd like an example of the script, IM me by clicking my little AIM guy under my name, its too fun to exclude from any website.

A good example of its power is:

Click Here (http://www.atomic-inc.net/imager/imager2.php?msg=hi&rot=10&clr=ff0000&bg=f0f0f0&pad=4&size=10)

Whereas msg=Text to draw, rot = text rotation, clr = color of text, bg = background color, pad = padding, size = size.
Title: Re:Dynamic Images
Post by: Thing on June 10, 2003, 09:55 PM
Yeah that is very cool.

I looked into that a while back and there are some other groovy things you can do if you make a jpg executable.  >:D

Title: Re:Dynamic Images
Post by: Banana fanna fo fanna on June 11, 2003, 09:03 PM
LEET!!!
Title: Re:Dynamic Images
Post by: JoeCool on July 09, 2003, 01:15 PM
nice.. i guess