简体   繁体   English

从Android中的动画gif检索可绘制对象

[英]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. 您将需要一个动画GIF解码器库来在任何平台上执行该操作。 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. 看看http://www.mydigitallife.co.za/index.php?option=com_myblog&show=a-j2me-gif-decoderhtml&Itemid=29 :这有点复杂,但可能会为您提供一个开始提取单个对象的开始图片。

Alternatively consider doing the image extraction on a remote server. 或者,考虑在远程服务器上进行图像提取。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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