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.

#gifski #RustLang

Gif frameskip by anisse · Pull Request #362 · ImageOptim/gifski

Provide ability to skip frames with a gif input files, just by using the existing --fps option, just like with video inputs. Fixes #361

GitHub

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!

#gifski #GIF #AnimatedGif #Slack #Emoji

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.

#ffmpeg #gifski #gifsicle #RustLang #SlackMoji

GitHub - ImageOptim/gifski: GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format.

GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format. - ImageOptim/gifski

GitHub
🌗 GitHub - ImageOptim/gifski: 基於libimagequant (pngquant)的GIF編碼器。將可最大限度地提高糟糕的GIF格式的質量。
➤ ImageOptim/gifski - 基於libimagequant (pngquant)的高品質GIF編碼器
https://github.com/ImageOptim/gifski
GitHub上的ImageOptim/gifski是一個基於libimagequant (pngquant)的GIF編碼器。它能夠從糟糕的GIF格式中擠取出最大可能的質量。
+ 這對我很有用!我一直在尋找一個能夠提高GIF質量的工具。
+ 好的工具,我一定要試試看!
#GitHub #ImageOptim #gifski #GIF編碼器 #libimagequant #pngquant
GitHub - ImageOptim/gifski: GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format.

GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format. - ImageOptim/gifski

GitHub

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

#script #scripting #ffmpeg #gifski #gif

scripts/.local/scripts/gifski-video · main · Alex Mozaidze / Dotfiles · GitLab

My configs and scripts

GitLab

how we create high quality gifs for the web using ffmpeg and gifski

#indiedev #ffmpeg #gifski

https://helmsoffury.com/devlog/posts/64121d137263831172049be8

Helms of Fury - Devlog

Gifski - A Cross-platform High-quality GIF Encoder - OSTechNix

Gifski is a free, cross-platform, open source, command line High-quality GIF encoder based on Pngquant.

Gifski - A Cross-platform High-quality GIF Encoder - OSTechNix

Gifski is a free, cross-platform, open source, command line High-quality GIF encoder based on Pngquant.

OSTechNix
Gifski encoder – Créez vos propres Gif animés à partir de vidéos – Korben