You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
src/main | 4 months ago | |
LICENSE | 4 months ago | |
README.third_party | 4 months ago | |
lint.xml | 4 months ago |
README.third_party
URL: https://gist.githubusercontent.com/devunwired/4479231/raw/df2725be4ae0f12f5265deaf0a769936ea94950b/GifDecoder.java Version: df2725be4ae0f12f5265deaf0a769936ea94950b License: MIT License File: LICENSE Description: Implementation of GifDecoder that is more memory efficient to animate for Android devices. This implementation does not house in memory a Bitmap for every image frame. Images are instead decoded on-the-fly, and only the minimum data to create the next frame in the sequence is kept. The implementation has also been adapted to reduce memory allocations in the decoding process to reduce time to render each frame. Adapted from: http://show.docjava.com/book/cgij/exportToHTML/ip/gif/stills/GifDecoder.java.html Local Modifications: Broke headers and frames out into separate files and added ability to share headers between multiple decoders. Added interface for reusing bitmaps each frame. Bugfixes.