Generate an Image Sequence from a GIF
Install ImageMagick:
sudo pacman -S imagemagick
Convert a .gif to a series of images:
magick convert animation.gif target.png
            If the various frames in the .gif image have transparent areas
            that build upon each other, then use the -coalesce option to
            produce a sequence of images where each subsequent image merges with the
            sequence of previous image(s):
          
magick convert -coalesce animation.gif target.png