Expand description
shogi-img
is a library for generating images that visualize the position in Shogi (Japanese chess).
It takes shogi_core::PartialPosition
as input and returns an image corresponding to that position as image::RgbaImage
.
There are several selectable styles for the board and pieces used in image generation.
Re-exports
pub use image;
pub use shogi_core;
Structs
- Image generator.
Enums
- Values to specify the style of the board.
- Values to specify the style of the pieces.
Functions
- A simple function to generate an image from a position using the default styles.