470,581 Members | 2,427 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,581 developers. It's quick & easy.

animated gifs in perl to php

118 100+

I have a PHP script that I made for an image based shoutbox with emoticons. The problem is that php GD doesn't support animated gifs, yet perl GD does. How would I make it so that I could copy the animated gifs via Perl onto the static image that I made with php? I've tried with php imagecreatefromgif(), which produces a static image. I also tried using the GIFAnimation class from phpclasses to make an animated gif but it returns it as an object or a string, not an image resource. So if I use imagecreatefromstring it will again be static..

As you can see it has static emoticons. Like a normal shoutbox, but in an image form. I was wondering whether there is any possible way to use Perl GD to animate the gifs within GD (since the files themselves are animated). Then with these animated gifs imagecopymerge them onto the shoutbox image, as I am doing now. Therefore having the emoticons animated on the shoutbox image.

Hope that makes more sense.. Is that possible?

I must admit I've not used much Perl before, at all.

Jun 15 '08 #1
0 1422

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by MrPickwick | last post: by
reply views Thread by GrandpaB | last post: by
2 posts views Thread by Dale Reed | last post: by
2 posts views Thread by Scirious | last post: by
3 posts views Thread by ZikO | last post: by
4 posts views Thread by Jeff | last post: by
27 posts views Thread by Phil | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.