Convert animated GIF to PNG stack
Convert animated GIF to PNG stack using ImageMagick by:
convert in.gif out_%04.png
where 04 is governed by the number of images in the GIF–04 accommodates up to 10000 images.
GIFs are not a great format for science image data, because the palette is compressed to 8-bit (256 colors). For plotting reduced data, GIFs can be fine.