Git Product home page Git Product logo

gifanimateddrawable's People

Contributors

fomojola avatar jween avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gifanimateddrawable's Issues

not start gif animation of image when start activity.

when start my application, i want to snimate my image using GIFanimateddrawable class... but its not working... my code is below,

try {
little = new GifAnimationDrawable(getResources().openRawResource(R.drawable.pentagonalicositetrahedroncw);
imageGIF.setImageDrawable(little);
((GifAnimationDrawable)imageGIF.getDrawable()).setVisible(true, true);
little.run();
little.setVisible(true, true);
} catch (NotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

gradle setup

can someone make a gradle setup for this library?

It creates OutOfMemmory Exception

java.lang.OutOfMemoryError
        at android.graphics.Bitmap.nativeCreate(Native Method)
        at android.graphics.Bitmap.createBitmap(Bitmap.java:997)
        at android.graphics.Bitmap.createBitmap(Bitmap.java:1021)
        at com.yuilop.gif.GifDecoder.setPixels(GifDecoder.java:213)
        at com.yuilop.gif.GifDecoder.readBitmap(GifDecoder.java:591)
        at com.yuilop.gif.GifDecoder.readContents(GifDecoder.java:472)
        at com.yuilop.gif.GifDecoder.complete(GifDecoder.java:256)
        at com.yuilop.gif.GifAnimationDrawable$1.run(GifAnimationDrawable.java:86)
        at java.lang.Thread.run(Thread.java:841)

Dx Uncaught translation error

Hello,

Thanks for your work on this lib

After generating .jar with build.xml and ant, i add this generated jar to my project.

But i have this 4 errors below...
Could you help me?

Thanks a lot!

The 4 errors :
Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/hipmob/gifanimationdrawable/GifAnimationDrawable$1;
Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/hipmob/gifanimationdrawable/GifAnimationDrawable;
Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/hipmob/gifanimationdrawable/GifDecoder$GifFrame;
Dx Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/hipmob/gifanimationdrawable/GifDecoder;

frames

Hi
I found 1 small bug
GifAnimationDrawable.java
there is
android.util.Log.v("GifAnimationDrawable", "===>Lead frame: ["+width+"x"+height+"; "+mGifDecoder.getDelay(0)+";"+mGifDecoder.getLoopCount()+"]");
height = mTmpBitmap.getHeight();
width = mTmpBitmap.getWidth();
should be different order

How to get frames as bitmaps in loop

Not working on Android L

Hi I created a demo app using this library and it ran expectedly on Android 4.4
However, no animation happens on Android L

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.