An open API service indexing awesome lists of open source software.

https://github.com/ciubix8513/lunar-png

Simple png loader
https://github.com/ciubix8513/lunar-png

image-loading images png rust

Last synced: 3 months ago
JSON representation

Simple png loader

Awesome Lists containing this project

README

        

# lunar-png
A simple png loading library

# Usage
```rust
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();
```