The Little Guy Posted February 18, 2009 Share Posted February 18, 2009 Anyone know how to make text in an image twist/swirl? Is this done with the GD Functions, if so how? otherwise how do you achieve the effect? Quote Link to comment https://forums.phpfreaks.com/topic/145699-image-twisted-text/ Share on other sites More sharing options...
The Little Guy Posted February 18, 2009 Author Share Posted February 18, 2009 Anyone? Quote Link to comment https://forums.phpfreaks.com/topic/145699-image-twisted-text/#findComment-765529 Share on other sites More sharing options...
premiso Posted February 18, 2009 Share Posted February 18, 2009 You want to look up imagemagick http://www.imagemagick.org/Usage/distorts/#perspective That should have what you want. If not look at some captcha scripts to see how they do it. Should be plenty of those scripts laying around for you to look at. Quote Link to comment https://forums.phpfreaks.com/topic/145699-image-twisted-text/#findComment-765537 Share on other sites More sharing options...
The Little Guy Posted February 18, 2009 Author Share Posted February 18, 2009 OK, I have used imagemagick before. Is there anyway using it that I can use it to not save the image? Quote Link to comment https://forums.phpfreaks.com/topic/145699-image-twisted-text/#findComment-765543 Share on other sites More sharing options...
premiso Posted February 18, 2009 Share Posted February 18, 2009 OK, I have used imagemagick before. Is there anyway using it that I can use it to not save the image? No clue, I am sure you can use the read function, but I have never used it before. Most Captchas do not use imagemagick, they use the straight php functions. Find one that does a text twist that you like and look at that code to see how they did it. If all else fails GD Library look at those functions available to you and see if any tickle your fancy. Quote Link to comment https://forums.phpfreaks.com/topic/145699-image-twisted-text/#findComment-765551 Share on other sites More sharing options...
The Little Guy Posted February 18, 2009 Author Share Posted February 18, 2009 I am guessing that the best function to use would be imageconvolution I just don't understand how the matrix works, so if anyone has any idea, or links, please let me know. Quote Link to comment https://forums.phpfreaks.com/topic/145699-image-twisted-text/#findComment-765564 Share on other sites More sharing options...
The Little Guy Posted February 18, 2009 Author Share Posted February 18, 2009 so far, this is the closest I have gotten without imagemagick: http://phpsnips.com/test.php Quote Link to comment https://forums.phpfreaks.com/topic/145699-image-twisted-text/#findComment-765652 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.