I have the following GIF image file:
I want to extract its frames (using PGM output
Use the -coalesce option:
-coalesce
convert -coalesce brocoli.gif out%05d.pgm