this post was submitted on 11 Apr 2025
33 points (94.6% liked)

Gifs

2092 readers
1 users here now

A Community for people to create posts with GIFs, MP4s or WEBPs - anything that's animated and reasonably short.

Images can be often be hosted directly on Lemmy, or on external sites such as https://imgur.com/ or https://catbox.moe/.

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] SatyrSack@feddit.org 4 points 2 weeks ago* (last edited 2 weeks ago)

I see that ezgif.com uses a program called Gifsicle for its compression. I will look into implementing that into my workflow. Thanks!

https://ezgif.com/about

EDIT: For anyone reading this who wants a good CLI method to compress GIFs, I found this article very useful:

https://www.digitalocean.com/community/tutorials/how-to-make-and-optimize-gifs-on-the-command-line

On the other hand, if you don't require your animated image to be in GIF format, a WEBP at the same file size will always have much higher quality:

ffmpeg -i input.mp4 -vcodec libwebp -lossless 0 -loop 0 -preset default -an -fps_mode passthrough -vf "fps=15, scale=-1:270" -quality 10 output.webp