Skip to content

Command line tool that makes an image of a chess position

Notifications You must be signed in to change notification settings

rchastain/chess-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chess-image

Overview

Simple command line tool that makes a picture of a chess position.

Usage

chess-image --position="rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -" --size=320 --output=position.png
chess-image --position="rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -" --size=320 --output=position.png --font=adventurer
chess-image --position="rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -" --size=320 --output=position.png --font=adventurer --coordinates
chess-image -p "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -" -s 320 -o position.png -f adventurer -c

Compilation

chess-image is a Lazarus project, using the BGRABitmap library.

Credit

chess-image uses Chess Montreal font by Gary Katch and Chess Adventurer font by Armando Hernandez Marroquin.

alt text