Siddharth Gupta

QuickMapGif

Capture a sequence of QGIS map frames and export them as an animated GIF.

QuickMapGif plugin icon
Downloads
2,486
Dependencies
None: no Pillow, no ffmpeg
Stack
Python · PyQt · QGIS API
License
GPL v2+

Workflow

  1. Open the dock and frame the first view.
  2. Capture a frame, change whatever should animate (time slider, layer visibility, symbology, filters) and capture again.
  3. Reorder or delete frames and preview them.
  4. Export with your choice of frame rate, looping, output scale and optional ping-pong playback. Encoding runs as a background task.

Lock extent

By default every frame shares one reference view. If you pan or zoom by accident while changing layers, a banner offers to snap back to the reference or to re-baseline it. Uncheck the lock to move the camera between frames on purpose.

Engineering notes

Frames are rendered off-screen at a fixed resolution with QgsMapSettings and QgsMapRendererParallelJob rather than grabbed from the canvas widget, so every frame is the same size whatever the window size or display DPI. The GIF89a encoder (palette quantization and LZW) is written from scratch with no QGIS or Qt dependency, so it can be tested on its own. The palette is limited to 256 colours per export, which can show mild banding on very colourful basemaps.