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
- Host: GitHub
- URL: https://github.com/ciubix8513/lunar-png
- Owner: Ciubix8513
- License: mit
- Created: 2024-06-25T15:34:35.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-07-17T20:52:56.000Z (10 months ago)
- Last Synced: 2025-01-04T21:49:05.731Z (5 months ago)
- Topics: image-loading, images, png, rust
- Language: Rust
- Homepage: https://crates.io/crates/lunar-png
- Size: 750 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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();
```