elma-lgr 0.2.0

Library for reading Elasto Mania LGR files.
Documentation

Crate for parsing ElastoMania LGR files.

LGR files contain PCX images.

Example usage:

use elma_lgr::Lgr;

let lgr = Lgr::load_from_file("lgr/example.lgr", false, false).unwrap();
println!("There are {} images in this LGR file", lgr.images.len());
for (name, image) in lgr.images {
    println!("{}, width = {}, height = {}", name, image.width, image.height);
}