LoginSignup
10
10

More than 5 years have passed since last update.

コマンドラインから簡単にGIFアニメーション画像を作成する方法

Last updated at Posted at 2014-08-16

ttyrec,ttygif

ttyrecは、動画キャプチャを開始するためのコマンドで、exitで終了します。ttygifは、ttyrecで作成されたファイルを使って、.pngを作ります。convertコマンドは、ImageMagickの画像変換を行います。

インストール

$ brew install ttyrec

$ git clone https://github.com/icholy/ttygif.git

$ cd ttygif

$ make

使い方

$ ttyrec

$ echo command.

$ exit

$ ./ttygif ttyrecord

$ gm convert *.png output.gif && rm *.png

$ qlmanage -p output.gif

gmImageMagickの改良版みたいなものです。これは、私が個人的に使ってるだけのものですので気にしないでください。

ちなみに、.gifへの変換は、ttygif./concat_osx.shが使えます。

10
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
10