giftopnm
Convert a GIF file into a PNM image.
TLDR
Convert a GIF image to a Netpbm image pixel-for-pixel
$ giftopnm [path/to/input.gif] > [path/to/output.pnm]
Display version
$ giftopnm -version
Convert a GIF image to a Netpbm image pixel-for-pixel