lottie2gif: support set background color as an extra argument.
authorHermet Park <hermetpark@gmail.com>
Wed, 29 May 2019 08:40:59 +0000 (17:40 +0900)
committerHermet Park <hermetpark@gmail.com>
Wed, 19 Jun 2019 04:32:48 +0000 (13:32 +0900)
commitc5217725fbd3d126ca11af7dc20f8f4ce3541924
tree23a7c6121702a1ee108c4170e9eb689e7badb5ad
parent8908410974f6a7178a5ea9db29e786220cd08354
lottie2gif: support set background color as an extra argument.

If lottie contents were designed in white color, gif result is invisible.

we can generate gif with a specified bg color.

lottie2gif [lottieFileName]
lottie2gif [lottieFileName] [bgColor]

example:

lottie2gif sample.json         //white bg color in default.
lottie2gif sample.json ff0000  //red bg color
example/lottie2gif.cpp