Resources and Support | |
![]() |
![]() |
![]() ![]() |
Author | Message |
1ucas
Commander ![]() ![]() Joined: 27 June 2005 Location: Brazil Online Status: Offline Posts: 174 |
![]() ![]() ![]() Posted: 10 April 2010 at 4:58pm |
One of the problems with animated GIFs is that we can't just stop them in the browser and play them frame by frame. It is very cumbersome when someone posts an animation and we have to save it and open it locally in order to analyze it.
Well, I created this little tool to help us with that. It's entirely based on JavaScript and some server-side processing of GIF files. The whole thing is cached, too, so it should be really fast once the first person processes a GIF file. The usage in a page is completely unobtrusive and simple and will work with any GIF file in any server, as long as it is below 1 MB in size. Here's a test page Here's a link to a quick input form for the tool Now, I'm not sure if the admins here would like to implement this, but I think it would be very neat and useful for us. I'll also try to integrate it with the zoom feature soon, and I'm working on a few extra ideas (hotlinking to specific frames, etc.) Either way, it should be possible to use it as a GreaseMonkey/UserJS script to whoever is interested. Also, notice there are still some minor bugs in processing the frames (Fool's dog disappears for a few frames, I'm still trying to figure that out). Suggestions are welcomed! Edited by 1ucas - 10 April 2010 at 7:51pm |
|
![]() |
|
Hatch
Admiral ![]() ![]() Joined: 05 August 2015 Online Status: Offline Posts: 1387 |
![]() ![]() ![]() |
I'm pretty sure the bug is in Fool's animation, not your code. The frame that disappears is wholly transparent except for a few purple pixels and uses the replace disposal method, so it seems you're displaying it accurately. Though I'm not sure why the animation doesn't flicker there if that's the case....
Anyhoo, that brings me to my feature request: would it be possible to show the disposal method and delay for each frame? Edited by Hatch - 10 April 2010 at 6:20pm |
|
![]() |
|
1ucas
Commander ![]() ![]() Joined: 27 June 2005 Location: Brazil Online Status: Offline Posts: 174 |
![]() ![]() ![]() |
Originally posted by Hatch
I'm pretty sure the bug is in Fool's animation, not your code. The frame that disappears is wholly transparent except for a few purple pixels and uses the replace disposal method, so it seems you're displaying it accurately. Though I'm not sure why the animation doesn't flicker there if that's the case....Anyhoo, that brings me to my feature request: would it be possible to show the disposal method and delay for each frame? Yeah, it's a really weird use of the "revert to background color" disposal method. It works everywhere else besides that one time. Browsers don't seem to have a problem displaying it, though, so I'm sure it's some sort of quirk I forgot to consider. The specs are really vague on the matter, unfortunetly. I'm already working on the frame information (delay and hot linking stuff), so that's just a matter of time. I don't see any use for displaying the disposal method, though, since it's really just an optimization trick, and each software will deal with it their own way. Why do you think that would be useful? |
|
![]() |
|
1ucas
Commander ![]() ![]() Joined: 27 June 2005 Location: Brazil Online Status: Offline Posts: 174 |
![]() ![]() ![]() |
NEW UPDATE!
Good news, everyone! I've worked some more on the tool and I think it's just about ready for us to use here (if the admins are up to it, that is). Here's a changelog:
Also, I've created some quick aids for the viewer:
Well, that's it for now! Got a few more ideas to implement, but this is good enough to go! Again, don't refrain from posting any comments, bugs and suggestions. Cheers! Edited by 1ucas - 15 April 2010 at 6:02am |
|
![]() |
|
Hatch
Admiral ![]() ![]() Joined: 05 August 2015 Online Status: Offline Posts: 1387 |
![]() ![]() ![]() |
Originally posted by 1ucas I don't see any use for displaying the disposal method, though, since it's really just an optimization trick, and each software will deal with it their own way. Why do you think that would be useful? Mm, makes sense. I retract my request! Anyhoo, new version's looking great! Thanks for writing it. |
|
![]() |
|
Manupix
Commander ![]() ![]() Joined: 05 November 2024 Online Status: Offline Posts: 771 |
![]() ![]() ![]() |
Awesome tool!
![]() Would it be possible to display frametime next to each frame? |
|
![]() |
|
1ucas
Commander ![]() ![]() Joined: 27 June 2005 Location: Brazil Online Status: Offline Posts: 174 |
![]() ![]() ![]() |
Yep, Manupix. That feature's coming in the next update. :)
|
|
![]() |
|
![]() ![]() |
||
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |