Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

Chess Image

Command line tool that makes an image of a chess position

View on GitLab

Member rating

No ratings yet.

Sign in to rate this project.

README

chess-image

Overview

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

Usage

pascal
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

Project migration

Project moved to Codeberg.