Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
User | Post |
HyperHacker Posts: 90/5072 |
Originally posted by Gavin Server-side.
Windows doesn't have such a program... nor a /usr, /tmp or /var directory. |
Elric Posts: 34/164 |
Well, I did some research, and GD's website says that the latest version does, in fact, support creation of animated GIFs. However, after looking over PHP.Net for the command(s) to do so, I discovered that PHP itself doesn't support creation of animated GIFs. |
Gavin Posts: 17/181 |
Originally posted by HyperHacker although like you said "hackish", I would consider that better than the initial "impossible" assesment, especially considering it's transparent to the user (right?). Although I'm not sure what you were saying about not working on windows systems (never tried it before). Did you mean server-side or client-side? Going along those lines, I would recommend forgoing any additional libraries and looking into a javascript solution (creating mulitple GIF's and manipulating how and when they are shown with javascript and zIndex + display CSS properties or something.. just off the top of my head) if you are really dying to make this work. Although from what it sounds like so far nothing you work with is going to be a "really great" solution... *shrugs* |
Elric Posts: 33/164 |
Good luck. Not only have I never seen an animated image made with GD, but I can't even find anything about it on Google. |
HyperHacker Posts: 75/5072 |
All that hack really does is make several still GIFs and join them together by calling a program. It won't work on Windows systems without some modifcations, and is indeed quite hackish.
I know it's possible to make animated GIFs, because I've seen sig images displaying game stats in them. Not sure how they did it though. |
Gavin Posts: 16/181 |
Check the first comment on this page. It makes a reference to ImageMagick. So apparently it is possible, but not with the default PHP library set. |
Deleted User Posts: 3/-7750 |
I am pretty sure that is impossible, that would be a cool idea though. I haven't looked into it much but I have tried animated gif's in GD and it just shows the first frame. |
Arthus Posts: 21/142 |
Do you think it would be possible in any way to make an image through PHP / GD that's also an animated GIF? I'm just trying out new things and thought it would be pretty cool to do. |