#metadata #image #encoding #format

image-meta

Image meta information loader

3 releases

0.1.2 Oct 30, 2022
0.1.1 Apr 10, 2020
0.1.0 Apr 11, 2019

#737 in Images

38 downloads per month

MIT/Apache

2.5MB
615 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