PHP Classes
elePHPant
Icontem

fen2Diagram: Render chess boards from piece positions

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-01-21 (9 years ago) RSS 2.0 feedStarStarStar 46%Total: 456 All time: 5,818 This week: 942Up
Version License PHP version Categories
fen2diag 0.1GNU Lesser Genera...3.0Graphics, Games
Description Author

This class can be used to render chess board diagrams from piece positions in the FEN format (Forsyth-Edwards Notation).

It parses a string in the FEN format to retrieve the piece positions in a chess board.

The class generates an image with an empty board and icons of the images of each piece in the board and the respective position.

The generated board image can be served as the current script output in JPEG, GIF or PNG format.

Picture of Can Ince
Name: Can Ince <contact>
Classes: 3 packages by
Country: Turkey Turkey

Details
Class fen2Diagram by Can Ince.

Description:
This class can be used to render chess diagrams.
It can read the positions of the pieces from a FEN notation and can render chess diagrams out of them.

Usage: Please refer to example.php

License: fen2Diagram is released under GNU/LGPL.
 
Screenshots  
  • screeshot1.jpg
  Files folder image Files  
File Role Description
Files folder imagechessset (12 files)
Image file emptyBoard.jpg Photo empty chess board
Plain text file example.php Example Example usage for fen2Diagram.class.php
Plain text file fen2Diagram.class.php Class Main fen2Diagram class
Plain text file gnu-lgpl.txt Lic. License file
Plain text file readme.txt Data Readme file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:456
This week:0
All time:5,818
This week:942Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:2331