简体   繁体   中英

Retrieve the drawables from an animated gif in Android

我想在Android中以编程方式检索动画gif中的不同可绘制对象。

Messy, but you aren't going to be able to do that with the standard platform tools. You'll need an animated GIF decoder library to do that on ANY platform. Take a look at http://www.mydigitallife.co.za/index.php?option=com_myblog&show=a-j2me-gif-decoderhtml&Itemid=29 : it is somewhat complex but may give you the start you need to extract the individual images.

Alternatively consider doing the image extraction on a remote server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM