I was a very long time I didn't need to created a animated gif...
I had a program before to take a static images (.jpg, .png etc..) and convert then into an animated gif..
All the web search engine push for online (aka SaaSS) tool 🤮
I used Gimp for animated Gifs in the past. But I find doing it in Kdenlive video editor easier. It let's you import a folder of images as a clip.
https://kdenlive.org/