Skip to content

Instantly share code, notes, and snippets.

View J-Massey's full-sized avatar

Jonathan Massey J-Massey

View GitHub Profile
@J-Massey
J-Massey / gif_generation.py
Last active January 17, 2023 09:50
Generate a gif from png images contained in a folder.
# -*- coding: utf-8 -*-
"""
@author: Jonathan Massey
@description: This script will read all the .png files in one folder,
sort them in some sensible order, then make a gif called
'movie.gif'.
To use it `cd /path/to/folder && python3 /path/to/gif_generation.py`
@contact: [email protected]
"""