Crates.io | image-meta |
lib.rs | image-meta |
version | 0.1.2 |
source | src |
created_at | 2019-04-11 23:08:16.639787 |
updated_at | 2022-10-30 15:00:42.530429 |
description | Image meta information loader |
homepage | |
repository | http://github.com/anekos/image-meta |
max_upload_size | |
id | 127375 |
size | 2,736,559 |
Image meta data inspector for rust
[dependencies]
image-meta = "*"
use image_meta;
fn main() {
let meta = image_meta::load_from_file("test-files/paw.png").unwrap();
println!("dims: {}x{}", meta.dimensions.width, meta.dimensions.width);
println!("animation: {:?}", meta.is_animation());
println!("format: {:?}", meta.format);
}