Project SGF2GIF is a small tool to convert *.SGF (Smart Game Format for Go programs) to animated GIF images.
This program is written in C++ using the Microsoft Windows API. It can be compiled and linked in the Microsoft Visual Studio IDEs. If attempting to cross-compile on Unix for WINE with i686-w64-mingw32-g++
you will need the file res/resource.h
(this file is not currently included in the repository, so you'll probably need VC++ to generate it).
-
In Windows Explorer, drag an
SGF
file and drop it on the compiledsgf2gif.exe
, and the correspondingGIF
file will be generated. -
Alternatively, you may run
sgf2gif.exe
directly and choose the input and output files.
Playing Speed: an unsigned integer, smaller is faster, default 50
Displaying the number of stones: an unsigned integer, show the last N
plays (can be set to 0)
Cut of the play sequence: undocumented
Size of Stone: 15 - 50 (pixels)