仅显示增量的动画 GIF 帧 [英] Frame of animated GIF only showing deltas

查看:28
本文介绍了仅显示增量的动画 GIF 帧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试抓取 gif 动画的帧.我尝试了 http://gif-explode.comconvert +adjoin loading.gif out%d.gif 在 ImageMagik 中.不幸的是,在这两种情况下,除了第一帧和最后一帧之外,所有帧都有些模糊并且部分缺失.我猜动画 gif 的创建者使用了某种压缩,其中每个帧"只是前一帧的增量.

I'm trying to grab the frames of an animated gif. I tried http://gif-explode.com and convert +adjoin loading.gif out%d.gif in ImageMagik. Unfortunately in both cases all but the first and last frame are kinda blurred and partially missing. I'm guessing the creator of the animated gif used some sort of compression where each "frame" is just a delta from the previous frame.

如何从这样的动画 gif 中获取可用的帧?也许 ImageMagik 或其他软件中的某个选项可以进行重建.

How can I get useable frames from an animated gif like this? Perhaps there's an option somewhere in ImageMagik or another piece of software that can do the reconstruction.

推荐答案

您可能需要指定coalesce"和dispose"选项:

You probably need to specify "coalesce" and "dispose" options:

convert -coalesce +adjoin -dispose Previous loading.gif out%d.gif

这篇关于仅显示增量的动画 GIF 帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆