(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-18-24 12:58 AM
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: 6510 days
Last view: 6510 days
Posted on 11-22-05 05:52 PM Link | Quote
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: 6298 days
Posted on 11-22-05 09:17 PM Link | Quote
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: 6375 days
Last view: 6318 days
Posted on 11-22-05 10:16 PM Link | Quote
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: 6298 days
Last view: 6298 days
Posted on 11-23-05 02:16 PM Link | Quote
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: 6696 days
Last view: 6327 days
Posted on 11-23-05 03:41 PM Link | Quote
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: 6375 days
Last view: 6318 days
Posted on 11-23-05 06:31 PM Link | Quote
Originally posted by HyperHacker
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.

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

Octoballoon


 





Since: 11-18-05
From: Melniboné

Last post: 6696 days
Last view: 6327 days
Posted on 11-23-05 07:47 PM Link | Quote
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: 6298 days
Last view: 6298 days
Posted on 11-24-05 03:39 PM Link | Quote
Originally posted by Gavin
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?

Server-side.

F:\>/usr/bin/convert -delay 2 -loop 10 /tmp/test*.gif /var/www/html/Tests/Test-Anim.gif
The system cannot find the path specified.

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 |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.009 seconds; used 381.73 kB (max 467.89 kB)