Welcome to WebmasterWorld Guest from 54.145.144.101

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

text to ANIMATED gif in PHP

seen any examples of this? free or commercial

   
3:25 pm on Jul 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am looking for PHP code snippets to make animated gifs. I've found a few free ones for single still images, but nothing more advanced after over an hour searching on Google.

I'd even settle for code I have to buy at this point as long as I get the source to modify as desired. Any suggestions?

8:18 pm on Jul 16, 2004 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I've never heard of anything like that.
If you do find a solution, could you post it here?

You could use Flash instead of an animated GIF... It's faster, simpler, cleaner, better, and plays well with dynamic content.

3:32 am on Jul 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use Flash, are you kidding? With the currently trend in "flaws" in IE it's hard enough to get people to browse with javascript, forget activex. Blocking flash is the next biggest thing to blocking ads these days. I won't go near Flash for personal or professional use.

I do appreciate the effort to help though. Besides, can PHP even create dynamic Flash on the fly, I would think not?

6:35 am on Jul 17, 2004 (gmt 0)

10+ Year Member



sounds like you dont/cant use flash to me do you have percentage to support claims that people blocking flash is the next big thing?
6:57 am on Jul 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This isn't a thread for/against flash. I am trying to solve a problem using a gif.

There are countless other threads around here with the anti-Flash arguement if you want to read on it.
See here:
[google.com...]
Or in general on the web:
[google.com...]

Flash isn't universal to web/email. Gif's are. Please help stay on thread topic.

5:56 pm on Jul 17, 2004 (gmt 0)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member



[google.com...]

it does mention not being able to do animated gifs with php but one of the comments in imagecreatefromgif mentions pulling from them using the gif index so maybe that will lead somewhere. There is a link in that comment to a gif lib.

not looking good though

6:22 pm on Jul 17, 2004 (gmt 0)

10+ Year Member



Interesting problem. I had a search and found this (http://www.imagemagick.org/) which could take multiple images (frames) and convert them into an animated gif. There is a PHP module her [pecl.php.net...]
6:26 pm on Jul 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



(heh RichD you must have been posting at the exact same time as me)

Thanks for your attempts to help.

After quite a bit of more Googling, I discovered that [imagemagick.org...] which I knew worked with Perl apparently has a way to work with PHP [pecl.php.net] now too.

I will have to research that, especially since it does everything I really want to do (and its free!)

1:59 am on Jul 19, 2004 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member



i wasn't kidding - Flash is an *excellent* development tool, and yes, PHP can control dynamic SWFs on the fly. (more accurately, it passes info into Flash which can control the look & behaviour of a movie)

I'll follow those links to read the current stink about Flash. My stats indicates that Flash aceptance is still rising, currently around 90% of our traffic. Even critic Jakob Nielson has recently given Flash a hesitant endorsement with its improved MX useability. I guess it also depends on your audience.

Thanks for posting your findings - I would also like to be able to create animated GIFs for use in automated email and possibly other applications.

cheers

5:31 am on Jul 19, 2004 (gmt 0)

10+ Year Member



Note, you don't need to use the php imagemagic extensions.. that requires recompiling php.

If Imagemagick is installed, you can use it via exec()

So exec('/usr/bin/convert .... etc'); to call the imagemagic programs.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month