Convert a kifu file into an animated gif, for easy sharing
Because of the early stage of this project, you can only convert kifu files
with extention .kifu
into an animated gif. In addition, as long as
python-shogi do not fix its KIF parser (PR waiting), you cannot import
kifu from 81dojo, because it inserts multiple space between move number and
move coordinate. Though, you can remove them by hand to made it works.
usage: kg-converter.py [-h] [-r RESCALE] kifu_file gif_name
Create a GIF animation from a kifu file.
positional arguments:
kifu_file Kifu file to transform, must have '.kifu' extension
gif_name Produced gif name
optional arguments:
-h, --help show this help message and exit
-r RESCALE, --rescale RESCALE
Size factor to rescale gif (default: 0.5 to minimize RAM usage)
Game played 5th december 2020, by 羽生善治 九段 VS 豊島将之 竜王.