Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
Acmlm's Board - I3 Archive - Programming - GD GIF | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Arthus 140 Since: 11-17-05 From: Australia Last post: 6551 days Last view: 6551 days |
| ||
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. | |||
Deleted User Banned Since: 05-08-06 Last post: None Last view: 6339 days |
| ||
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. | |||
Gavin Cheep-cheep Vandalism is not tolerated Since: 11-17-05 From: IL, USA Last post: 6415 days Last view: 6358 days |
| ||
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. | |||
HyperHacker Star Mario Finally being paid to code in VB! If only I still enjoyed that. <_< Wii #7182 6487 4198 1828 Since: 11-18-05 From: Canada, w00t! My computer's specs, if anyone gives a damn. STOP TRUNCATING THIS >8^( Last post: 6339 days Last view: 6339 days |
| ||
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. |
|||
Elric Octoballoon Since: 11-18-05 From: Melniboné Last post: 6737 days Last view: 6368 days |
| ||
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. | |||
Gavin Cheep-cheep Vandalism is not tolerated Since: 11-17-05 From: IL, USA Last post: 6415 days Last view: 6358 days |
| ||
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 javas |
|||
Elric Octoballoon Since: 11-18-05 From: Melniboné Last post: 6737 days Last view: 6368 days |
| ||
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. | |||
HyperHacker Star Mario Finally being paid to code in VB! If only I still enjoyed that. <_< Wii #7182 6487 4198 1828 Since: 11-18-05 From: Canada, w00t! My computer's specs, if anyone gives a damn. STOP TRUNCATING THIS >8^( Last post: 6339 days Last view: 6339 days |
| ||
Originally posted by Gavin Server-side.
Windows doesn't have such a program... nor a /usr, /tmp or /var directory. (edited by HyperHacker on 11-24-05 02:39 PM) |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - Programming - GD GIF | | |