Skip to content

A small tool that generates 640x640 gif of chess pgn

License

Notifications You must be signed in to change notification settings

TrendingTechnology/pgn2gif

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgn2gif

Generate gifs from pgn files of your chess games.

Installation

  • 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

Usage

Run 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

NOTE

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 gifs folder present in the current working directory.

Example

PGN

1. e4 e5 2. Qh5 Ke7 3. Qxe5#

GIF output

About

A small tool that generates 640x640 gif of chess pgn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%