Skip to main content

Creating a gif from static image files

1 min read

Today I wanted to create a gif of some weather imagery I exported from QGIS. I was able to use the timeline functionality in QGIS to export individual static frames for each timestamp of weather data I had.

For example, I've got a bunch of images like the ones below

Map screenshot of Australia with thunderstorm forecast overlaid on it - one
of two

Map screenshot of Australia with thunderstorm forecast overlaid on it - two of
two To take these and turn them into an animated gif on a Mac, I must first install imagemagick.

brew install imagemagick

Then I can invoke imagemagick's convert function and tell it all the images I want to include in the animation and an output file.

magick *.png animation.gif

And you end up with something like

Animation of thunderstorm forecasts moving across Austrlia

© 2021 by Madole.
GitHub Repository
Last build: 1733197531215