Use Adobe Acrobat or Okular to view the PDF. pdf.js does not work.
# Download some gif
curl 'https://media4.giphy.com/media/mCCpMOJCiiLbdBWuv3/giphy.gif' > some.gif
# Split into single frames
mkdir output
convert -coalesce +adjoin some.gif output/tmp.png