#lgr #elma #elasto-mania #elasto

elma-lgr

Library for reading Elasto Mania LGR files

2 unstable releases

Uses old Rust 2015

0.2.0 Dec 11, 2016
0.1.0 Dec 7, 2016

WTFPL license

11KB
195 lines

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);
 }

Dependencies

~320KB