LoginSignup
7
5

More than 5 years have passed since last update.

Unity でエディタの実行結果を gif アニメにする (OSX)

Last updated at Posted at 2016-03-15

1. エディタの実行結果を PNG の連番画像に出力

Keijiro Takahashi さんの Klak から Assets/Klak/Editor/ImageSequenceWindow.cs を使う

2. PNG を gif に変換

Capture ディレクトリに png 画像が格納されてるので以下のコマンドで gif に変換

for i in Capture/*.png; do sips -s format gif $i --out $i.gif; done

3. gif から gif アニメ生成

gifsicle (brew install gifsicle でインストール可能) で gif アニメを生成

gifsicle --delay=3 --loop Capture/*.gif > anim.gif

解像度がデカすぎる場合は以下のような感じでリサイズ

--resize=320x180

参考

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