Jump to content

Archived

This topic is now archived and is closed to further replies.

becu

Text color based on image

Recommended Posts

Hi,
usually we designate a color for text we create using GD. What if I want to create text that filled with a random image?
Thanks for your help!
Something like this:
[img src=\"http://img135.imageshack.us/img135/7588/testing5we1.gif\" border=\"0\" alt=\"IPB Image\" /]

Share this post


Link to post
Share on other sites
Check the manual for the following functions:

imagesettile()
imagefill()

Those should get you on the way.

Share this post


Link to post
Share on other sites
[img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /]
Thanks alot, I will work around and see....hehe.. ..
Thanks again!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.