Work-in-progress Rust library for reading and manipulating bitmap (.bmp) files.
Usage
Add this to your Cargo.toml
:
[]
= "0.0.2"
Example
extern crate bumpy;
use Bmp;
//open a file
let mut file = open?;
//build a Bmp struct from the file
let bmp = build_from_file?;
//do stuff like greyscale it
bmp.greyscale;
//write the modified bmp to a new file
bmp2.write_to_file?;