A small tool that generates 640x640 gif of chess pgn.
- You need python 3.6 or newer installed.
- Clone the repo with
git clone https://github.com/dn1z/pgn2gif
- In the cloned directory Run
pip install -r requirements.txt
python3.6 pgn2gif.py with the following options:
Usage pgn2gif.py [-p | -s | -o] Options: -p, --path Path to the pgn file/folder -s, --speed Speed of the pieces moving in gif -o, --out Path to the gif output directory
If you choose to run
python3.6 pgn2gif without any other option then:
- pgn file must be present within the current working directory
- There must be a
gifsfolder present in the current working directory.
1. e4 e5 2. Qh5 Ke7 3. Qxe5#