lunar-png

Crates.iolunar-png
lib.rslunar-png
version0.1.2
sourcesrc
created_at2024-07-17 18:46:59.81156
updated_at2024-07-17 20:53:09.67252
descriptionSimple library for loading png images
homepage
repositoryhttps://github.com/Ciubix8513/lunar-logger
max_upload_size
id1306457
size38,503
Luna (Ciubix8513)

documentation

README

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();
Commit count: 16

cargo fmt