dm20 / gif-maker

Throw this script and some pics in a folder and make a gif

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mafe a gif in just a jiff!

1) install imageio

python3 -m pip install imageio

2) put the script and all of the frames (images) in a folder

  • You'll want to make sure the frames have some ordering to them in the filenames (see the sample)
  • The frames can be any image type: PNG, JPEG, or even individual GIF frames as in the sample

3) get the pathname of the folder and change the path variable on line 4 in gif_maker.py

path = '/path/to/your/pics/'

4) make a gif!

cd /directory_with_frames_and_script/
python3 gif_maker.py

Inspired by this Stack Overflow post

About

Throw this script and some pics in a folder and make a gif


Languages

Language:Python 100.0%