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