I built an export tool for the Noto Animated Emoji set, for import into Slack.
Direct download: https://github.com/anisse/slackanim/releases/download/v0.0.1/slackanim-v0.0.1.zip
Source: https://github.com/anisse/slackanim
Tell me what you think!
This one took a bit longer than expected to publish, in particular because I wanted to solve a few things automatically: proper support for skin color variants, and having the gifs being automatically shrunk in number of frames to match slack's limits.
The former led to writing a lot of jq (initially awk).
And for the latter, I even wrote a gifski patch to add functionality I needed, and drop frames automatically : https://github.com/ImageOptim/gifski/pull/362 cc @kornel
Now all of this is repeatable and the set can be updated when Google releases new Noto Animated emojis.
I built an export tool for the Noto Animated Emoji set, for import into Slack.
Direct download: https://github.com/anisse/slackanim/releases/download/v0.0.1/slackanim-v0.0.1.zip
Source: https://github.com/anisse/slackanim
Tell me what you think!
Here is the magic incantation I've found creates the best animated gifs for use as emojis in Slack. Powered by @kornel 's gifski:
ffmpeg -i INPUT.gif -vf "format=yuv420p" -f yuv4mpegpipe - | gifski -W 128 -H 128 -Q 55 -o OUTPUT-compressed.gif -
Make quality -Q vary until size is just below ~128k. For some reason, Slack's limit is not exactly 217, but not 128000 either.
I have made a script some while back, it converts any video into high-quality GIF using ffmpeg and gifski.
https://gitlab.com/alexmozaidze/dotfiles/-/blob/main/scripts/.local/scripts/gifski-video
how we create high quality gifs for the web using ffmpeg and gifski
https://helmsoffury.com/devlog/posts/64121d137263831172049be8