Speeding up animated GIF in a Java image object.

Posted on 2011-10-08
Last Modified: 2012-05-15
I am successfully loading in working, flapping mutalisks for my game proof of concept demo.

the animated GIF at

And in my game, it appears to be the same speed as in a browser.

But, in Starcraft itself, the mutalisks aren't lazy and unmotivated like the speed of this GIF. I don't think.

Is it possible for me to jack up the frame rate of these unmotivated mutalisks? They are embarrassing.

Question by:beavoid
    LVL 47

    Expert Comment

    How is it connected to Java Programming Language?

    It is animated GIF - and these are soem advice on how to speed it up
    using dofferent programs:

    Author Comment

    Well, sometimes things like this can be done in code. That's all
    LVL 47

    Expert Comment

    I think you should be able to do it in java code by loading different images one after another.
    LVL 47

    Accepted Solution


    perhaps this class would be of use:

     Example of its use:
         AnimatedGifEncoder e = new AnimatedGifEncoder();
          e.setDelay(1000);   // 1 frame per sec

    Author Comment

    I'd rather not have to get anything new.
    I have maromedia flash.

    Can it speed up my lazy mutalisk and keep BG transparency?

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    seriesUp challenge 7 81
    Core java. Please help me catch a bug. 5 52
    bunnyEars challenge 6 45
    create a gui in perl 3 22
    Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
    As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
    Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
    Video by: Michael
    Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now