artechinfo Posted November 26, 2013 Share Posted November 26, 2013 Can anyone help me to know that how to do this embroidery text effect on the fly by GD with PHP like they did?tailorstore [DoT] co [DoT] uk/tailor-made-shirtsPlease click on MONOGRAM tab and you can see the textbox. Please enter anything and you can see the effect. Quote Link to comment https://forums.phpfreaks.com/topic/284279-gd-coding/ Share on other sites More sharing options...
Ch0cu3r Posted November 26, 2013 Share Posted November 26, 2013 You can write text to an image using gettextttftext. You can pass any ttf font to that function http://papermashup.com/php-gd-generate-an-image-with-text-and-font-embedding/ Quote Link to comment https://forums.phpfreaks.com/topic/284279-gd-coding/#findComment-1460201 Share on other sites More sharing options...
artechinfo Posted November 29, 2013 Author Share Posted November 29, 2013 How I can generate this kind of output http://www.tailorstore.co.uk/get_embroidery_image?text=PHP&font=3&color=14&scale=0.44&angle=0 Quote Link to comment https://forums.phpfreaks.com/topic/284279-gd-coding/#findComment-1460604 Share on other sites More sharing options...
Ch0cu3r Posted November 29, 2013 Share Posted November 29, 2013 That is all possible with the function I linked to in my previous post. There many tutorials out there for gd text effects. You will need to sit down and learn how to use this function. Quote Link to comment https://forums.phpfreaks.com/topic/284279-gd-coding/#findComment-1460618 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.