From dc1c532cc44a960bd2b73804eec2a26dc2044ded Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 27 Nov 2024 13:45:11 +0100 Subject: [PATCH] Telegram emojis should be webp --- functions/gen-emoji-telegram.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/gen-emoji-telegram.fish b/functions/gen-emoji-telegram.fish index 600e87a..4512656 100644 --- a/functions/gen-emoji-telegram.fish +++ b/functions/gen-emoji-telegram.fish @@ -4,7 +4,7 @@ if [ $status -eq 0 ] log-t "Creating" "Telegram" "directory..." command mkdir --parents "Telegram" log-d "Processing" "$argv[1]" "for Telegram use..." - command magick -background none "$argv[1]"'[100x100]' -gravity 'center' -extent '100x100' $argv[2..-1] "Telegram/$argv[1]" + command magick -background none "$argv[1]"'[100x100]' -gravity 'center' -extent '100x100' $argv[2..-1] "Telegram/$argv[1].webp" log-t "Done! Emoji added to the" "Telegram" "directory!" end end