-
Have imagemagick and ffmpeg installed
-
Download the slideshow as a pdf
-
pdf -> pngs
convert -density 300 slides.pdf slide%03d.png
Increase
density
to increase quality, DPI -
pngs -> mp4
ffmpeg -framerate 1 -i ${prefix}%03d.png -pix_fmt yuv420p animation.mp4
framerate is frames per second, so 1 == 1 second per slide, and 2 == 1/2 second per slide
-
pngs -> gif
convert -delay 100 ${prefix}.png animation.gif
delay is in centiseconds, so 100 = 1 second per slide, and 250 == 2.5 seconds per slide
Last active
February 12, 2021 15:29
-
-
Save zgulde/b48b5506808e52f5f3ab7f5d08dc8fdc to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment