#image #metadata

image-meta

Image meta information loader

2 releases

0.1.1 Apr 10, 2020
0.1.0 Apr 11, 2019

#88 in Images

Download history 11/week @ 2020-11-05 6/week @ 2020-11-12 6/week @ 2020-11-19 8/week @ 2020-11-26 5/week @ 2020-12-03 6/week @ 2020-12-10 2/week @ 2020-12-17 9/week @ 2020-12-31 4/week @ 2021-01-07 7/week @ 2021-01-14 7/week @ 2021-01-21 4/week @ 2021-01-28 5/week @ 2021-02-04 17/week @ 2021-02-11 9/week @ 2021-02-18

264 downloads per month

MIT/Apache

2.5MB
572 lines

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);
}

Dependencies