From 17e48f0b2878c85322c169af0f7ee59b8f07108c Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 23 Aug 2020 22:36:27 +0200 Subject: [PATCH] Updated Settings (markdown) --- Settings.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Settings.md b/Settings.md index 4f14da1..0d71229 100644 --- a/Settings.md +++ b/Settings.md @@ -116,6 +116,7 @@ - [Telegram](#telegram) - [EditDisable](#editdisable-4) - [EditSuffix](#editsuffix-4) + - [MediaConvertTgs](#mediaConverttgs) - [MediaConvertWebPToPNG](#mediaconvertwebptopng) - [MessageFormat](#messageformat) - [QuoteDisable](#quotedisable) @@ -1147,6 +1148,20 @@ See [EditDisable](#EditDisable) See [EditSuffix](#EditSuffix) +## MediaConvertTgs + +Convert Tgs (Telegram animated sticker) images to some other file format before upload. +This requires the external dependency `lottie`, which can be installed like this: +`pip install lottie cairosvg` +https://github.com/42wim/matterbridge/issues/874 + +Setting: OPTIONAL, RELOADABLE \ +Format: string \ +Values: `"png"` (still-image), `"webp"` (animated webp) +Example: Convert to png because a gateway is involved that doesn't even understand animated webp: + +`MediaConvertTgs="png"` + ## MediaConvertWebPToPNG Convert WebP images to PNG before upload. https://github.com/42wim/matterbridge/issues/398