gif动画修改_如何更改动画GIF速度

gif动画修改

Comedians would tell you that timing is the most important part of any joke. The same could be said about animated GIFs; whether they're used as a meme or to illustrate a process, the speed of an animated GIF can effect its effectiveness. With that idea in mind, I set about trying to figure out how to modify the speed of an animated GIF; let's explore it!

喜剧演员会告诉您,时间是任何笑话中最重要的部分。 动画GIF也可以这样说。 无论是用作模因还是说明过程,动画GIF的速度都会影响其效果。 考虑到这个想法,我开始尝试弄清楚如何修改动画GIF的速度。 让我们来探索它!

Let's use the following GIF as our sample:

让我们使用以下GIF作为示例:

Animated GIF

The first step in modifying a GIF's speed is determining the GIF's root speed; to determine this ratio, we'll use ImageMagick's identify command:

修改GIF速度的第一步是确定GIF的根速度。 为了确定该比例,我们将使用ImageMagick的identify命令:

identify -verbose respect.gif | grep Delay
> Delay: 5x100
> Delay: 5x100

The ratio returned represents the hundredths of a second between the animated GIF's frames.

返回的比率代表动画GIF帧之间的百分之一秒。

To speed up the animation, we can use a smaller ratio:

为了加快动画速度,我们可以使用较小的比例:

convert -delay 1x30 respect.gif respect-fast.gif

Fast animated GIF

To slow down the, we can use a larger ratio:

为了降低速度,我们可以使用更大的比率:

convert -delay 1x100 respect.gif respect-slow.gif

Slow animated GIF

Animated GIFs still have a place on the web; optimizing their effectiveness remains important. If you need to speed up or slow down an animated GIF, look no further than ImageMagick!

动画GIF仍在网络上占有一席之地; 优化其有效性仍然很重要。 如果您需要加快或降低动画GIF的速度,别无所求!

翻译自: https://davidwalsh.name/how-to-change-animated-gif-speed

gif动画修改

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值