Modified converters to support pngs option of lottieconverter

See https://github.com/Eramde/LottieConverter/commit/37e73d8dc15152e050288ea0a55541546dde84d1
This commit is contained in:
Randall Lawrence
2019-10-05 20:09:14 +03:00
parent d2edf12fdf
commit 0726289c7a
4 changed files with 55 additions and 22 deletions
+3 -1
View File
@@ -172,13 +172,15 @@ bridge:
# disable - No conversion, send as-is (gzipped lottie)
# png - converts to non-animated png (fastest),
# gif - converts to animated gif, but loses transparency
# webm - converts to webm video, requires ffmpeg executable with vp9 codec and webm container support
target: gif
# Arguments for converter. All converters take width and height.
# GIF converter takes background as a hex color.
args:
width: 256
height: 256
background: "020202"
background: "020202" # only for gif
fps: 30 # only for webm
# Whether to bridge Telegram bot messages as m.notices or m.texts.
bot_messages_as_notices: true