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

发布于 2024-12-03 11:45:31 字数 44 浏览 4 评论 0原文

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

I'd like to retrieve the different drawables inside an animated gif programmatically in Android.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空‖城人不在 2024-12-10 11:45:31

很混乱,但你无法使用标准平台工具做到这一点。您需要一个动画 GIF 解码器库才能在任何平台上执行此操作。看看 http ://www.mydigitallife.co.za/index.php?option=com_myblog&show=a-j2me-gif-decoderhtml&Itemid=29:它是有点复杂,但可能会让您开始提取单个图像。

或者考虑在远程服务器上进行图像提取。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文