valarao / chocolate-thunder-chess

Allow chess players to search through 1,000+ common opening positions.
MIT License
2 stars 2 forks source link

Update preview image script #62

Closed austincho closed 3 years ago

austincho commented 3 years ago

Overview This is the script to update all positions in MongoDB with a preview image generated from the ChessImageGenerator using the pgn. This also contains code to query for positions and write PNG files using the data buffer from MongoDB to ensure that the buffer was encoded properly.