Skip to content

Instantly share code, notes, and snippets.

@Fluepke
Last active September 18, 2024 12:18
Show Gist options
  • Save Fluepke/d097332d9ce785571fdc29b9c80e5c3f to your computer and use it in GitHub Desktop.
Save Fluepke/d097332d9ce785571fdc29b9c80e5c3f to your computer and use it in GitHub Desktop.
Animated PDF

Use Adobe Acrobat or Okular to view the PDF. pdf.js does not work.

Steps to reproduce

# 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

pdflatex animation.tex
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

@agrahn
Copy link

agrahn commented Sep 18, 2024

PDF.js in Firefox-130 now plays animate-type animations, see https://tex.stackexchange.com/a/235180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment