image-meta

Crates.ioimage-meta
lib.rsimage-meta
version0.1.2
sourcesrc
created_at2019-04-11 23:08:16.639787
updated_at2022-10-30 15:00:42.530429
descriptionImage meta information loader
homepage
repositoryhttp://github.com/anekos/image-meta
max_upload_size
id127375
size2,736,559
anekos (anekos)

documentation

README

image-meta

Build status crates.io Documentation

Image meta data inspector for rust

Supported formats

Usage

[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);
}
Commit count: 0

cargo fmt