1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

seq2gif | seq2gif で出力するアニメーションGIFの色を設定する

Posted at

seq2gif | seq2gif で出力するアニメーションGIFの色を設定する

概要

seq2gif で出力するアニメーションGIFの色を設定します

  • -f オプションで前景色( foreground )を設定。デフォルトは 7。白。
  • -b オプションで背景色( background )を設定。デフォルトは 0。黒。
  • -c オプションでカーソル色( background )を設定。デフォルトは 2。緑。

試行

コマンドの保存

$ ttyrec color

$ echo start
start
$ seq 5 | figlet
 _
/ |
| |
| |
|_|

 ____
|___ \
  __) |
 / __/
|_____|

 _____
|___ /
  |_ \
 ___) |
|____/

 _  _
| || |
| || |_
|__   _|
   |_|

 ____
| ___|
|___ \
 ___) |
|____/

$ echo end
end
$

# Ctrl + D で保存終了

デフォルトでアニメーションGIF生成

seq2gif < color > default.gif

color.gif

背景:黒、前景:緑、カーソル:白 でアニメーションGIF生成

$ seq2gif -b 0 -f 2 -c 7 < color > color_b0f2c7.gif

color_b0f2c7.gif

参照

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?