gifblender blends the frames of animated gifs or other image sequences.
Usage: gifblender [options] <img.gif>|<img1> <img2> ...
Options:
-h, --help show this help message and exit
-o, --outdir <arg> output directory
-s, --steps <arg> number of steps
-t, --transition <arg> transition timing
-b, --blend-last blend first and last frames
Available transition timings:
linear (default)
ease
ease-in
ease-out
ease-in-out
# for looping gifs, the -b|--blend-last option lets you blend the last
# and first frames (this creates a seemlessly looping gif)
$ gifblender -o /tmp/frames/ -s 20 -t ease -b source.gif
# you can also blend arbitrary image sequences if they have the same
# dimensions
$ gifblender -o /tmp/frames/ -s 20 img1.jpg img2.jpg img3.jpg *.jpg
Note: gifblender only creates intermediary frames - it does not create gifs. Use a program like gifsicle to animate gifblender's results.
The -t|--transition
option specifies the rate at which the
transition between two frames is carried out:
gifblender requires the ImageMagick suite.
# Debian compatible OS
$ apt-get install imagemagick
# Redhat compatible OS
$ yum install ImageMagick
# Mac OS with macports
$ port install ImageMagick
# FreeBSD
$ pkg install ImageMagick # or ImageMagick-nox11
gifblender is released under the terms of the New BSD License.