RoboHash
Rust implementation of RoboHash by e1ven
Install
Example Implementation
use Error;
use RoboHashBuilder;
Define Size
let width = 512;
let height = 512;
let robo = new
.with_size
.build;
Define Colour
let robo = new
.with_colour
.build;
Define Set
let robo = new
.with_set
.build;
Change Sets Directory
let robo = new
.with_set_location
.build;
Define Background
let robo = new
.with_background_set
.build;
Change Background Directory
let robo = new
.with_background_location
.build;
Full Example
use Error;
use RoboHashBuilder;
Implemented
- Generate base64 robo hash image from any of the provided sets and colours
- Background support
- Image size support
Todo
- Support backgrounds
- Support for saving images to disk
- Support for returning raw image data
- Support image sizing