#png #image #loading

lunar-png

Simple library for loading png images

3 releases

0.1.2 Jul 17, 2024
0.1.1 Jul 17, 2024
0.1.0 Jul 17, 2024

#311 in Images

MIT license

29KB
724 lines

lunar-png

A simple png loading library

Usage

let mut file = std::fs::File::open("something.png").unwrap();
let mut data = Vec::new();

file.read_to_end(&mut data);

let image = lunar_png::read_png(&mut data.into_iter()).unwrap();

lib.rs:

lunar-png

A simple png loading library

Dependencies

~320KB