homepage Welcome to WebmasterWorld Guest from 54.196.62.132
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
text to ANIMATED gif in PHP
seen any examples of this? free or commercial
amznVibe




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

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?

 

httpwebwitch




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

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.

amznVibe




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

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?

o trenseta o




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

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?

amznVibe




msg:1297728
 6:57 am on Jul 17, 2004 (gmt 0)

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.

jatar_k




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

[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

RichD




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

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...]

amznVibe




msg:1297731
 6:26 pm on Jul 17, 2004 (gmt 0)

(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!)

httpwebwitch




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

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

eaden




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved