becu Posted May 20, 2006 Share Posted May 20, 2006 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\" /] Quote Link to comment https://forums.phpfreaks.com/topic/10050-text-color-based-on-image/ Share on other sites More sharing options...
zq29 Posted May 20, 2006 Share Posted May 20, 2006 Check the manual for the following functions:imagesettile()imagefill()Those should get you on the way. Quote Link to comment https://forums.phpfreaks.com/topic/10050-text-color-based-on-image/#findComment-37433 Share on other sites More sharing options...
becu Posted May 20, 2006 Author Share Posted May 20, 2006 [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! Quote Link to comment https://forums.phpfreaks.com/topic/10050-text-color-based-on-image/#findComment-37445 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.