Jump to content


Photo

Text color based on image


  • Please log in to reply
2 replies to this topic

#1 becu

becu
  • Members
  • PipPip
  • Member
  • 28 posts

Posted 20 May 2006 - 06:32 AM

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\" /]

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 20 May 2006 - 03:06 PM

Check the manual for the following functions:

imagesettile()
imagefill()

Those should get you on the way.

#3 becu

becu
  • Members
  • PipPip
  • Member
  • 28 posts

Posted 20 May 2006 - 04:03 PM

[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!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users