phpQuestioner Posted June 4, 2007 Share Posted June 4, 2007 Does anyone know how I can create a Animated GIF with PHP? I went to this one website, it was PHP and it had a generator that will let you add up to 50: gif, jpeg, and png photos. It would also let you define how fast it would rotate to another image, in seconds. The site creator made this generator for myspace, but I want to know how they do this. I don't not want to create a generator; I just want to know how I can use PHP code to create an Animated GIF. Here is the website link to the page I was talking about: http://freecodesource.com/index.php?page=myspacegenerators/animator/index. I found out how to display random images with "readfile", but now I want to know how to create an Animated GIF with PHP. If any one knows what kind of code I would use to do this, please let me know. Quote Link to comment https://forums.phpfreaks.com/topic/54160-how-can-you-create-animated-gif-with-php/ Share on other sites More sharing options...
chigley Posted June 4, 2007 Share Posted June 4, 2007 GD can't do it, but I think Imagemagick (sp?) can.. Quote Link to comment https://forums.phpfreaks.com/topic/54160-how-can-you-create-animated-gif-with-php/#findComment-267745 Share on other sites More sharing options...
phpQuestioner Posted June 4, 2007 Author Share Posted June 4, 2007 chigley, I Googled what you were talking about and found the website, but if I read right, you have to upload the latest version of their software to you web host. I would really like to try to find a way to do this without having to add anything else to my host, but I am sure this would be an answer that would work. I will keep this idea in mind and Thank You for your suggestion. Is there not any way to create some type of timing event to keep using readfile every so many seconds or is readfile based completely on a page load event? I do not know much about AJAX, but does anyone know a way it can be done with AJAX or any other way to do this? Quote Link to comment https://forums.phpfreaks.com/topic/54160-how-can-you-create-animated-gif-with-php/#findComment-267774 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.