|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 136
|
Slowing animated gifs
Ok, here my project:
I'm making an html page for my desktop that displays an animated gif from the web (one that is periodically updated... I use a meta-refresh to get the new gif from the server every so often). When it's first downloading, it runs perfectly: my download speed matches how fast I'd like the gif to run... fairly slowly changing the frame about every second (yeah, it's a pretty big gif). The problem: Once the entire gif is downloaded to the cache, it gets up to the speed specified by the file which is more like 10fps. The actal file from the server is out of my control, but I need some way to change its speed once downloaded. Since the native speed is embeded in the gif file, the only way I can think of to change it would be to use a script to save each frame as an induvidual file (I have no clue how) and then loop through them manually at my specified speed (this I could do on my own). Can someone show me how to go through and save the induvidual frames? Or can anyone think of a better way to slow the animation? |
|
|
|
|
|
#2 |
|
It can never be too quiet
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
|
Couldn't you just save the .gif file and make whatever modifications you want? It would probably be the easiest solution.
Do you have a program such as Adobe ImageReady that you can use to modify timing of the frames?
__________________
Athlon XP 2800+ • Asus A7N8X (nVidia Nforce2) • Radeon 9600 Pro 256MB • 2x512MB KVR DDR PC3200 Dual Channel • 120GB Seagate 7200RPM 8MB • 160GB WD 7200RPM 8MB • Liteon DVD±RW DL • AOpen DVD±RW DL • Vantec Ion2 350W PSUSend me your picture for the Member Photo Gallery |
|
|
|
|
|
#3 |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 136
|
As I said above, the .gif is periodically updated, so I can't just change it once... I need a solution that automatically fixes new gifs as they come in.
|
|
|
|
|
|
#4 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
You could try using:
PHP Code:
|
|
|
|
|
|
#5 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Tis the problem with animated gif's. I would forget about the gif and go flash instead. You can do so much more with flash.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#6 |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 136
|
Yeah, I thought about that Statica, but I don't want to be downloading this thing 24/7... it would be a little harsh on the server since the gif is about 20MB. Besides, it would suck up my bandwidth.
mairving, I don't know if you read my original post, but the gif is out of my control. I can't change formats or anything... it's just the way it is and I might just give up if no one has any suggestions for acutally doing what I asked about. I have some experience in java, so that's my target language if I were to write some applet to do what I want. Last edited by Puma; 08-17-2005 at 10:41 AM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|